dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19907
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8882: mobile: minor fix
------------------------------------------------------------
revno: 8882
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-05 15:28:26 +0100
message:
mobile: minor fix
modified:
dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.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-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js 2012-11-05 13:54:36 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js 2012-11-05 14:28:26 +0000
@@ -79,8 +79,7 @@
};
dhis2.storage.FormManager.prototype.dataSets = function (id) {
- var ou = this.organisationUnits()[id];
- return ou.dataSets;
+ return this.organisationUnit(id).dataSets;
};
dhis2.storage.FormManager.prototype.forms = function () {