mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 08:17:30 +02:00
Remove row when clicking trash icon in raw tag editor
(closes #2418) Dispatching `event.change(tag)` does update the tag editor in most cases, but it is not sufficient to remove a blank row with no tags..
This commit is contained in:
@@ -192,6 +192,7 @@ iD.ui.RawTagEditor = function(context) {
|
||||
var tag = {};
|
||||
tag[d.key] = undefined;
|
||||
event.change(tag);
|
||||
d3.select(this.parentNode).remove();
|
||||
}
|
||||
|
||||
function addTag() {
|
||||
|
||||
Reference in New Issue
Block a user