diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/users.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 0de0d1df3bc..18f4e9f209c 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -40,7 +40,13 @@ $(document).ready(function(){ }else{ checkHandeler=false; } + var addGroup = function(group) { + $('select[multiple]').each(function(index, element) { + $(element).append('<option value="'+group+'">'+group+'</option>'); + }) + }; element.multiSelect({ + createCallback:addGroup, createText:'add group', checked:checked, oncheck:checkHandeler, |