fix first save (wrong timestamp was being taken)
parent
9906f46ce6
commit
94f070832c
|
@ -64,7 +64,7 @@ mindplot.RESTPersistenceManager = new Class({
|
||||||
async:!sync,
|
async:!sync,
|
||||||
|
|
||||||
success: function (data, textStatus, jqXHRresponseText) {
|
success: function (data, textStatus, jqXHRresponseText) {
|
||||||
persistence.timestamp = jqXHRresponseText;
|
persistence.timestamp = data;
|
||||||
events.onSuccess();
|
events.onSuccess();
|
||||||
},
|
},
|
||||||
error: function (jqXHR, textStatus, errorThrown) {
|
error: function (jqXHR, textStatus, errorThrown) {
|
||||||
|
@ -161,5 +161,3 @@ mindplot.RESTPersistenceManager = new Class({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue