mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 06:55:46 +00:00
Don't save history to localstorage in save mode
(to avoid saving remote merges / conflict resolutions)
This commit is contained in:
@@ -141,7 +141,7 @@ window.iD = function () {
|
||||
};
|
||||
|
||||
context.save = function() {
|
||||
if (inIntro) return;
|
||||
if (inIntro || (mode && mode.id === 'save')) return;
|
||||
history.save();
|
||||
if (history.hasChanges()) return t('save.unsaved_changes');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user