← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3356: Minor fix

 

------------------------------------------------------------
revno: 3356
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-04-12 12:56:21 +0200
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/caseagg.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-caseentry/src/main/webapp/dhis-web-caseentry/javascript/caseagg.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/caseagg.js	2011-04-11 16:43:51 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/caseagg.js	2011-04-12 10:56:21 +0000
@@ -56,7 +56,7 @@
 	clearListById('sDateLB');
 	
 	jQuery.each( json.periods, function(i, item ){
-		addOption('sDateLB', item.name , i );
+		addOptionById('sDateLB', item.name , i );
 	});
 }
 
@@ -77,7 +77,7 @@
 	clearListById('eDateLB');
 	
 	jQuery.each( json.periods, function(i, item ){
-		addOption('eDateLB', item.name , i );
+		addOptionById('eDateLB', item.name , i );
 	});
 }