dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19772
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8761: Remove selected aggregate data element if select a other dataset in Add/update aggrgate query bui...
------------------------------------------------------------
revno: 8761
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-10-30 11:24:52 +0700
message:
Remove selected aggregate data element if select a other dataset in Add/update aggrgate query builder.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.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-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.js 2012-10-26 04:16:25 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/caseaggregation.js 2012-10-30 04:24:52 +0000
@@ -8,6 +8,7 @@
var dataSets = document.getElementById( 'dataSets' );
var dataSetId = dataSets.options[ dataSets.selectedIndex ].value;
setFieldValue('aggregationDataElementId','');
+ setFieldValue('aggregationDataElementInput','');
if( dataSetId == "" ){
disable( 'dataElementsButton' );