fix first save (wrong timestamp was being taken)

This commit is contained in:
Claudio Barril 2014-09-09 11:54:48 -03:00
parent 9906f46ce6
commit 94f070832c

View File

@ -64,7 +64,7 @@ mindplot.RESTPersistenceManager = new Class({
async:!sync,
success: function (data, textStatus, jqXHRresponseText) {
persistence.timestamp = jqXHRresponseText;
persistence.timestamp = data;
events.onSuccess();
},
error: function (jqXHR, textStatus, errorThrown) {
@ -161,5 +161,3 @@ mindplot.RESTPersistenceManager = new Class({
}
}
);