diff options
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r-- | settings/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 6626e058960..0c09481603c 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -125,7 +125,7 @@ OC.Settings.Apps = OC.Settings.Apps || { page.find("label[for='groups_enable-"+app.id+"']").hide(); page.find(".groups-enable").attr('checked', null); } else { - page.find('#group_select').val((app.groups || []).join(',')); + page.find('#group_select').val((app.groups || []).join('|')); if (app.active) { if (app.groups.length) { OC.Settings.Apps.setupGroupsSelect(page.find('#group_select')); @@ -372,7 +372,7 @@ $(document).ready(function () { var element = $(this).parent().find('input.enable'); var groups = $(this).val(); if (groups && groups !== '') { - groups = groups.split(','); + groups = groups.split('|'); } else { groups = []; } |