=== 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); });