mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
fix first save (wrong timestamp was being taken)
This commit is contained in:
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
Block a user