Merge pull request #15380 from owncloud/issue/15149-fix-initial-list
Fix the initial list of groups
This commit is contained in:
commit
914fe89003
|
@ -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'));
|
||||||
|
|
Loading…
Reference in New Issue