dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23952
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11682: Minor fix.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 11682 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-08-16 15:46:39 +0200
message:
Minor fix.
modified:
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.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-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js 2013-08-16 11:45:57 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js 2013-08-16 13:37:01 +0000
@@ -1277,6 +1277,8 @@
if (isUserOrgunitGrandChildren) {
var userOuOuc = [].concat(pt.init.user.ou, pt.init.user.ouc),
responseOu = response.metaData.ou;
+
+ userOugc = [];
for (var i = 0; i < responseOu.length; i++) {
if (!Ext.Array.contains(userOuOuc, responseOu[i])) {