------------------------------------------------------------
revno: 11707
committer: Tran Chau <[email protected]>
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:[],
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp