← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10367: Clear the filters when to switch between stages in tabular report..

 

------------------------------------------------------------
revno: 10367
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-03-21 12:13:59 +0700
message:
  Clear the filters when to switch between stages in tabular report..
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.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/app/app.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2013-03-18 03:57:53 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2013-03-21 05:13:59 +0000
@@ -3118,6 +3118,7 @@
 											
 											// FILTER-VALUES FIELDS
 											Ext.getCmp('filterPanel').removeAll();
+											Ext.getCmp('filterPropPanel').removeAll();
 										}
 									}
 								},
@@ -3156,6 +3157,9 @@
 											else {
 												store.load({params: {programStageId: cb.getValue()}});
 											}
+											
+											// FILTER-VALUES FIELDS
+											Ext.getCmp('filterPanel').removeAll();
 										} 
 									}
 								}