diff --git a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php index f607d36..cb22d48 100644 --- a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php +++ b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php @@ -13,7 +13,7 @@ ", "delay": 500, "resets": true}, {"key": 3, "type": "dom.datalist.clear", "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-datalist"}, {"key": 4, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>}", "method": "GET", "request_type": "json"}, @@ -21,25 +21,14 @@ ] }, { - "key": 2, "listener": "keyup", "action" : [ - {"key": 1, "type": "validate.keypress", "pressed": "enter"}, + "key": 2, "listener": "keydown", "action" : [ + {"key": 1, "type": "validate.keypress", "pressed": "13"}, {"key": 2, "type": "message.request", "uri": "{/base}/{/lang}/api/admin/find/account?search={#= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>}", "method": "GET", "request_type": "json"}, - {"key": 3, "type": "dom.set", "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-idlist" "data": ""} + {"key": 3, "type": "dom.setvalue", "overwrite": false, "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-idlist", "data-path": "", "data": ""}, + {"key": 4, "type": "dom.setvalue", "overwrite": false, "id": "= htmlspecialchars($this->getId(), ENT_COMPAT, 'utf-8'); ?>-taglist", "data-path": "", "data": ""} ] } ]' required> - - -
\ No newline at end of file + + \ No newline at end of file