diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-05 12:37:19 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-05 12:37:19 -0800 |
commit | 949cb4615a37c30dd7048de6e7fe9befbe92e63c (patch) | |
tree | 481f1c35d380d488e97981994664d70728d4436d /management/editor | |
parent | b7cf9b7aec82be02d1490b49791b93a48fe90c86 (diff) |
more testing of fix for Tags input
Diffstat (limited to 'management/editor')
-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 4d9bd28..05b8065 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -387,7 +387,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); - var sel = '.__ponzu-tag' + '.' + chip.tag.split(' ').join('.'); + var sel = '.__ponzu-tag' + chip.tag.split(' ').join('.'); chips.parent().find(sel).remove(); // iterate through all hidden tag inputs to re-name them with the correct ` + name + `.index |