dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19903
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8878: mobile: minor for testing..
------------------------------------------------------------
revno: 8878
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-05 14:43:02 +0100
message:
mobile: minor for testing..
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:05:21 +0000
+++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/dhis-web-mobile-resources/js/dhis2.storage.js 2012-11-05 13:43:02 +0000
@@ -130,7 +130,7 @@
dhis2.storage.FormManager.prototype.saveDataValueSet = function( dataValueSet ) {
var dataValueSets = this.dataValueSets();
- return dhis2.storage.makeUploadDataValueSetRequest( dataValueSet ).error(function() {
+ return dhis2.storage.makeUploadDataValueSetRequest( dataValueSet ).always(function() {
// add to local dataValueSets
dataValueSets[dhis2.storage.getUniqueKey(dataValueSet)] = dataValueSet;