diff --git a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php index eca562c..b0c41a1 100644 --- a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php +++ b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php @@ -27,7 +27,15 @@ {"key": 1, "type": "validate.keypress", "pressed": "13|9"}, {"key": 2, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#printHtml($this->getId()); ?>}", "method": "GET", "request_type": "json"}, {"key": 3, "type": "dom.setvalue", "overwrite": false, "selector": "#printHtml($this->getId()); ?>-idlist", "value": "{0/id}", "data": ""}, - {"key": 4, "type": "dom.setvalue", "overwrite": false, "selector": "#printHtml($this->getId()); ?>-taglist", "value": "printHtml($this->getId()); ?>-taglist-{0/id}\" class=\"tag red\" data-id=\"{0/id}\"> {0/name/0}, {0/name/1}", "data": ""}, + {"key": 4, "type": "dom.setvalue", "overwrite": false, "selector": "#printHtml($this->getId()); ?>-taglist", "value": "printHtml($this->getId()); ?>-taglist-{0/id}\" class=\"tag red\" data-id=\"{0/id}\" >printHtml($this->getId()); ?>-idlist\", \"data\": \"\"}, + {\"key\": 3, \"type\": \"dom.removevalue\", \"overwrite\": true, \"base\": \"self\", \"selector\": \"#printHtml($this->getId()); ?>-idlist\", \"data\": \"\"} + ] + } + ]\"> {0/name/0}, {0/name/1}", "data": ""}, {"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#printHtml($this->getId()); ?>", "value": "", "data": ""} ] }