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:
Bryan Housel
2015-01-14 09:57:23 -05:00
parent ef2d6e75cf
commit 62f7681370
+1
View File
@@ -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() {