From 949cb4615a37c30dd7048de6e7fe9befbe92e63c Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 5 Dec 2016 12:37:19 -0800 Subject: more testing of fix for Tags input --- management/editor/elements.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3