dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13559
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4374: re-enabled clearing of data values / dataset complete after sync with server
------------------------------------------------------------
revno: 4374
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-08-19 13:45:05 +0200
message:
re-enabled clearing of data values / dataset complete after sync with server
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2011-08-19 08:39:08 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2011-08-19 11:45:05 +0000
@@ -170,7 +170,7 @@
data: value,
dataType: 'json',
success: function( data, textStatus, jqXHR ) {
-// clearCompleteDataSet(value);
+ clearCompleteDataSet(value);
console.log( 'Successfully saved complete dataset with value: ' + value );
(array = array.slice(1)).length && pushCompleteDataSets(array);
@@ -202,7 +202,7 @@
data: value,
dataType: 'json',
success: function( data, textStatus, jqXHR ) {
-// storageManager.clearDataValueJSON( value );
+ storageManager.clearDataValueJSON( value );
console.log( 'Successfully saved data value with value: ' + value );
(array = array.slice(1)).length && pushDataValues(array);