diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-05 13:01:11 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-05 13:01:11 -0800 |
commit | 21ed7729cade1b5bea346a042b7ff37b0878ae6c (patch) | |
tree | 26baeb5ae758a316a28dae6438b074cb0b7940ef /management/editor/elements.go | |
parent | 79d47df50005ce8e9c1962fe1b9dc524306517c3 (diff) |
more testing of fix for Tags input
Diffstat (limited to 'management/editor/elements.go')
-rw-r--r-- | management/editor/elements.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go index fd298fc..45cb7c7 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -386,7 +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.tag); + console.log(chip); var sel = '.__ponzu-tag.' + chip.tag.split(' ').join('.'); console.log(sel); chips.parent().find(sel).remove(); |