fix first save (wrong timestamp was being taken)

This commit is contained in:
Claudio Barril 2014-09-09 11:54:48 -03:00
parent ded8dae982
commit 5b7bbf2e72

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({
}
}
);