← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12746: Fixed bug - Exception thrown when to click Clear-filter button in tabular report.

 

------------------------------------------------------------
revno: 12746
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-10-17 01:02:16 +0700
message:
  Fixed bug - Exception thrown when to click Clear-filter button 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-10-16 17:29:40 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2013-10-16 18:02:16 +0000
@@ -5622,10 +5622,9 @@
 						handler: function() {
 							if(Ext.getCmp('reportTypeGroup').getValue().reportType=='true')
 							{
-							
 								TR.cmp.params.dataelement.selected.store.each( function(r) {
 									var deId = r.data.id;
-									var length = Ext.getCmp('filterPanel_' + deId).items.length/4;
+									var length = Ext.getCmp('filterPanel_' + deId).items.length/5;
 									for(var idx=0;idx<length;idx++)
 									{					
 										var id = deId + '_' + idx;