dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19910
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8885: mobile: minor fix..
------------------------------------------------------------
revno: 8885
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-05 17:12:23 +0100
message:
mobile: minor fix..
modified:
dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache
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/resources/dhis-mobile-manifest.appcache'
--- dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache 2012-11-05 15:33:46 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache 2012-11-05 16:12:23 +0000
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# Version: 32
+# Version: 33
CACHE:
../mobile/index
=== 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 15:33:46 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js 2012-11-05 16:12:23 +0000
@@ -101,7 +101,7 @@
dhis2.storage.FormManager.prototype.dataValueSets = function() {
var dataValueSets = localStorage.getItem('dataValueSets');
- if( dataValueSets != null && dataValueSets != "null" && !$.isArray(dataValueSets))
+ if( dataValueSets != null && dataValueSets != "null" && dataValueSets != "[]" )
{
dataValueSets = JSON.parse( dataValueSets );
} else {