diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-01 15:37:55 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-01 15:37:55 +0200 |
commit | b2dd5cb61655b6ca82e8fd1fb117b42301d28c2b (patch) | |
tree | 98e25e54bcefd00d0169cbf18cf930bce17228d3 /settings/js/admin.js | |
parent | 64994facce890e53a50bc75047e502e434c9c749 (diff) | |
download | nextcloud-server-b2dd5cb61655b6ca82e8fd1fb117b42301d28c2b.tar.gz nextcloud-server-b2dd5cb61655b6ca82e8fd1fb117b42301d28c2b.zip |
save excluded groups in json format - fixes #10983
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index 7117c7b46cf..9f7133c6571 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -23,11 +23,7 @@ $(document).ready(function(){ OC.Settings.setupGroupsSelect($(element)); $(element).change(function(ev) { var groups = ev.val || []; - if (groups.length > 0) { - groups = ev.val.join(','); // FIXME: make this JSON - } else { - groups = ''; - } + groups = JSON.stringify(groups); OC.AppConfig.setValue('core', $(this).attr('name'), groups); }); }); |