← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15467: Fixed bug - The buttons in TEI Advanced search box are disabled when another orgunit is selected.

 

------------------------------------------------------------
revno: 15467
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-05-29 22:28:10 +0800
message:
  Fixed bug - The buttons in TEI Advanced search box are disabled when another orgunit is selected.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.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/commons.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js	2014-05-22 14:02:57 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js	2014-05-29 14:28:10 +0000
@@ -358,18 +358,12 @@
 			enable('addEntityInstanceBtn');
 			enable('advancedSearchBtn');
 			enable('scheduledVisitDays');
-			$('#advanced-search :input').each(function(idx, item) {
-				enable(this.id);
-			});
 		} else {
 			disable('status');
 			disable('listEntityInstanceBtn');
 			disable('addEntityInstanceBtn');
 			disable('advancedSearchBtn');
 			disable('scheduledVisitDays');
-			$('#advanced-search :input').each(function(idx, item) {
-				disable(this.id);
-			});
 		}
 	} else if (program != '') {
 		showById('enrollmentSelectTR');