dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19586
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8604: minor fixes
------------------------------------------------------------
revno: 8604
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2012-10-20 00:33:35 +0200
message:
minor fixes
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-10-19 22:31:07 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js 2012-10-19 22:33:35 +0000
@@ -35,12 +35,10 @@
};
dhis2.storage.FormManager.prototype.getMetaData = function () {
- console.log('get metadata');
-
return $.ajax({
url : '../api/currentUser/forms',
dataType : 'json'
- }).done(function ( data ) {
+ }).success(function ( data ) {
localStorage['organisationUnits'] = JSON.stringify(data.organisationUnits);
localStorage['forms'] = JSON.stringify(data.forms);
});