Merge pull request #15380 from owncloud/issue/15149-fix-initial-list

Fix the initial list of groups
This commit is contained in:
Morris Jobke 2015-04-02 16:29:53 +02:00
commit 914fe89003
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
page.find("label[for='groups_enable-"+app.id+"']").hide(); page.find("label[for='groups_enable-"+app.id+"']").hide();
page.find(".groups-enable").attr('checked', null); page.find(".groups-enable").attr('checked', null);
} else { } else {
page.find('#group_select').val((app.groups || []).join(',')); page.find('#group_select').val((app.groups || []).join('|'));
if (app.active) { if (app.active) {
if (app.groups.length) { if (app.groups.length) {
OC.Settings.Apps.setupGroupsSelect(page.find('#group_select')); OC.Settings.Apps.setupGroupsSelect(page.find('#group_select'));