Clear localstorage edits after successful save..

This commit is contained in:
Bryan Housel
2015-06-10 01:21:38 -04:00
parent 5799b7fc33
commit 78c484a02b

View File

@@ -165,6 +165,7 @@ iD.modes.Save = function(context) {
});
showErrors();
} else {
history.clearSaved();
success(e, changeset_id);
// Add delay to allow for postgres replication #1646 #2678
window.setTimeout(function() {