mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
Force inspector to recreate all of its content after a save
(closes #3844)
This commit is contained in:
@@ -212,12 +212,14 @@ export function modeSave(context) {
|
||||
success(e, changeset_id);
|
||||
// Add delay to allow for postgres replication #1646 #2678
|
||||
window.setTimeout(function() {
|
||||
d3.select('.inspector-wrap *').remove();
|
||||
loading.close();
|
||||
context.flush();
|
||||
}, 2500);
|
||||
}
|
||||
});
|
||||
} else { // changes were insignificant or reverted by user
|
||||
d3.select('.inspector-wrap *').remove();
|
||||
loading.close();
|
||||
context.flush();
|
||||
cancel();
|
||||
|
||||
Reference in New Issue
Block a user