dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19691
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8696: minor
------------------------------------------------------------
revno: 8696
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-10-24 16:44:32 +0200
message:
minor
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-10-23 17:12:46 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/resources/dhis-mobile-manifest.appcache 2012-10-24 14:44:32 +0000
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# Version: 16
+# Version: 17
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-10-24 14:44:08 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js 2012-10-24 14:44:32 +0000
@@ -104,10 +104,7 @@
return dhis2.storage.makeUploadDataValueSetRequest( dataValueSet ).error(function() {
// add to local dataValueSets
-
- // dataValueSets.push( dataValueSet );
dataValueSets[dhis2.storage.getUniqueKey(dataValueSet)] = dataValueSet;
-
localStorage['dataValueSets'] = JSON.stringify( dataValueSets );
});
};
@@ -124,8 +121,6 @@
});
return $.when.apply( null, deferreds ).always(function() {
- // filter out undefined dataValues (successfully uploaded);
- // dataValueSets = _.filter(dataValueSets, function(dv) { return dv !== undefined; });
localStorage['dataValueSets'] = JSON.stringify( dataValueSets );
});
};