From f0145a8b5687d26cb79e6871f9de35724925137e Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Sat, 3 Sep 2016 18:54:37 -0400 Subject: [PATCH] Fix raw tag editor --- modules/ui/raw_tag_editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ui/raw_tag_editor.js b/modules/ui/raw_tag_editor.js index ec5ebf86b..70239bae8 100644 --- a/modules/ui/raw_tag_editor.js +++ b/modules/ui/raw_tag_editor.js @@ -209,19 +209,19 @@ export function RawTagEditor(context) { tag[kNew] = d.value; d.key = kNew; // Maintain DOM identity through the subsequent update. this.value = kNew; - event.call('change', tag); + event.call('change', this, tag); } function valueChange(d) { var tag = {}; tag[d.key] = this.value; - event.call('change', tag); + event.call('change', this, tag); } function removeTag(d) { var tag = {}; tag[d.key] = undefined; - event.call('change', tag); + event.call('change', this, tag); d3.select(this.parentNode).remove(); }