diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-25 12:08:11 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-25 12:08:11 -0700 |
commit | ab3f9f82e9a1ab1127ff0ed6d64ed5096473b274 (patch) | |
tree | 44cc1643e9ac9420929c02d3fa1969540dbef2d8 | |
parent | 812e70bf97a5064807618bb3e6ac02984f47c4d4 (diff) |
debugging
-rw-r--r-- | management/editor/elements.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go index 97a7684..b967f8f 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -384,6 +384,8 @@ func Tags(fieldName string, p interface{}, attrs map[string]string) []byte { chips.on('chip.delete', function(e, chip) { var sel = '.tag-'+chip.tag; + console.log(sel); + console.log(chips.parent().find(sel)); chips.parent().find(sel).remove(); }); }); |