dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13570
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4378: fixed minor bug in upload js
------------------------------------------------------------
revno: 4378
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-08-19 14:46:19 +0200
message:
fixed minor bug in upload js
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 12:07:57 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2011-08-19 12:46:19 +0000
@@ -170,8 +170,8 @@
data: value,
dataType: 'json',
success: function( data, textStatus, jqXHR ) {
- clearCompleteDataSet(value);
console.log( 'Successfully saved complete dataset with value: ' + value );
+ storageManager.clearCompleteDataSet(value);
(array = array.slice(1)).length && pushCompleteDataSets(array);
if ( array.length < 1 )