mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Fix error upon changing raw changeset tags
This commit is contained in:
@@ -38,7 +38,7 @@ export function uiChangesetEditor(context) {
|
||||
_fieldsArr.forEach(function(field) {
|
||||
field
|
||||
.on('change', function(t, onInput) {
|
||||
dispatch.call('change', field, t, onInput);
|
||||
dispatch.call('change', field, undefined, t, onInput);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -444,7 +444,7 @@ export function uiCommit(context) {
|
||||
}
|
||||
|
||||
|
||||
function changeTags(changed, onInput) {
|
||||
function changeTags(_, changed, onInput) {
|
||||
if (changed.hasOwnProperty('comment')) {
|
||||
if (changed.comment === undefined) {
|
||||
changed.comment = '';
|
||||
|
||||
Reference in New Issue
Block a user