← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3836: Removed unused function

 

------------------------------------------------------------
revno: 3836
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-06-03 15:21:47 +0200
message:
  Removed unused function
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js	2011-05-20 11:28:49 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js	2011-06-03 13:21:47 +0000
@@ -286,24 +286,3 @@
         element.style.backgroundColor = color;
     }
 }
-
-// -----------------------------------------------------------------------------
-// Section
-// -----------------------------------------------------------------------------
-
-function openCloseSection( sectionId )
-{
-	var divSection = document.getElementById( sectionId );
-	var sectionLabel = document.getElementById( sectionId + ":name" );	
-	
-	if( divSection.style.display == 'none' )
-	{			
-		divSection.style.display = ('block');
-		sectionLabel.style.textAlign = 'center';
-	}
-	else
-	{			
-		divSection.style.display = ('none');
-		sectionLabel.style.textAlign = 'left';
-	}
-}