dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23989
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11707: Fixed bug - Exception thrown to run tabular report.
------------------------------------------------------------
revno: 11707
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-08-20 13:18:59 +0700
message:
Fixed bug - Exception thrown to run 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-08-20 04:58:55 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js 2013-08-20 06:18:59 +0000
@@ -681,8 +681,8 @@
params.displayField = 'o';
params.multiSelect = true;
params.delimiter = ';';
- var index = TR.store.dataelement.available.findExact('id', 'de_' + deId);
- var deUid = TR.store.dataelement.available.getAt(index).data.uid;
+ var index = TR.store.dataelement.selected.findExact('id', 'de_' + deId);
+ var deUid = TR.store.dataelement.selected.getAt(index).data.uid;
params.store = Ext.create('Ext.data.Store', {
fields: ['o'],
data:[],