dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17106
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6711: Made OUWT always reload when there is undefined or 0 local roots.
------------------------------------------------------------
revno: 6711
fixes bug: https://launchpad.net/bugs/987316
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-04-23 17:47:11 +0300
message:
Made OUWT always reload when there is undefined or 0 local roots.
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.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-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2012-01-11 07:51:55 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2012-04-23 14:47:11 +0000
@@ -113,6 +113,11 @@
return true;
}
+ if(localRoots === undefined || localRoots.length)
+ {
+ return true;
+ }
+
localRoots.sort();
remoteRoots.sort();