diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-05 13:48:22 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-05 13:48:22 -0800 |
commit | cd5a95b596e6d9af868e5ae018c5d6bbd381fcc4 (patch) | |
tree | 9d92eb0b670480e23a3980f85ef400af667eeb1a /management/editor | |
parent | f7a9b538ded026a23c82fd97b3ae51e42e929846 (diff) |
adding log to debug
Diffstat (limited to 'management/editor')
-rw-r--r-- | management/editor/elements.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go index 899387b..ac44e22 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -386,6 +386,7 @@ func Tags(fieldName string, p interface{}, attrs map[string]string) []byte { chips.on('chip.delete', function(e, chip) { // convert tag string to class-like selector "some tag" -> ".some.tag" + console.log(chip.id); var sel = '.__ponzu-tag.' + chip.tag.split(' ').join('.'); chips.parent().find(sel).remove(); |