mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Fix #4443 Imagery only updated on first save
This commit is contained in:
@@ -65,7 +65,6 @@ export function uiCommit(context) {
|
||||
tags = {
|
||||
comment: context.storage('comment') || '',
|
||||
created_by: ('iD ' + context.version).substr(0, 255),
|
||||
imagery_used: context.history().imageryUsed().join(';').substr(0, 255),
|
||||
host: detected.host.substr(0, 255),
|
||||
locale: detected.locale.substr(0, 255)
|
||||
};
|
||||
@@ -83,6 +82,8 @@ export function uiCommit(context) {
|
||||
}
|
||||
|
||||
tags = _clone(changeset.tags);
|
||||
tags.imagery_used = context.history().imageryUsed().join(';').substr(0, 255);
|
||||
changeset = changeset.update({ tags: tags });
|
||||
|
||||
var header = selection.selectAll('.header')
|
||||
.data([0]);
|
||||
|
||||
Reference in New Issue
Block a user