------------------------------------------------------------
revno: 6711
fixes bug: https://launchpad.net/bugs/987316
committer: Morten Olav Hansen <[email protected]>
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();
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp