← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13987: Minor fix in tabular report.

 

------------------------------------------------------------
revno: 13987
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-02-11 19:35:00 +0700
message:
  Minor fix 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	2014-01-30 09:08:55 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2014-02-11 12:35:00 +0000
@@ -5053,7 +5053,7 @@
                                                         items: [
                                                             {
                                                                 xtype: 'checkbox',
-                                                                id: 'userOrgunit',
+                                                                id: 'userOrgunitChildren',
                                                                 columnWidth: 0.5,
                                                                 boxLabel: TR.i18n.user_orgunit,
                                                                 labelWidth: TR.conf.layout.form_label_width,
@@ -5069,19 +5069,19 @@
                                                             },
                                                             {
                                                                 xtype: 'checkbox',
-                                                                id: 'userOrgunitChildren',
+                                                                id: 'userOrgunit',
                                                                 columnWidth: 0.5,
                                                                 boxLabel: TR.i18n.user_orgunit_children,
                                                                 labelWidth: TR.conf.layout.form_label_width,
                                                                 handler: function(chb, checked) {
                                                                     TR.cmp.params.organisationunit.treepanel.xable(checked, TR.cmp.aggregateFavorite.userorganisationunit.getValue());
-                                                                },
+																	TR.state.orgunitIds = [];
+																},
                                                                 listeners: {
                                                                     added: function() {
                                                                         TR.cmp.aggregateFavorite.userorganisationunitchildren = this;
                                                                     },
                                                                     handler: function(chb, checked) {
-                                                                        TR.cmp.params.organisationunit.toolbar.xable(checked, TR.cmp.aggregateFavorite.userorganisationunitchildren.getValue());
                                                                         TR.cmp.params.organisationunit.treepanel.xable(checked, TR.cmp.aggregateFavorite.userorganisationunitchildren.getValue());
                                                                         TR.state.orgunitIds = [];
                                                                     },