diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-14 15:22:36 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-14 15:45:47 +0100 |
commit | 0461b9dbb9f800951519fd1ffdb689157614ce99 (patch) | |
tree | f8c12e637d9c07427d9390ce1196a544129f3af2 /settings/js | |
parent | 8f89e3520d74e1805dc46947742a17683ece6ca7 (diff) | |
download | nextcloud-server-0461b9dbb9f800951519fd1ffdb689157614ce99.tar.gz nextcloud-server-0461b9dbb9f800951519fd1ffdb689157614ce99.zip |
Add a new app type that can not be enabled for groups
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 85627e613c6..3078e4fda33 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -176,7 +176,8 @@ OC.Settings.Apps = OC.Settings.Apps || { // set group select properly if(OC.Settings.Apps.isType(app, 'filesystem') || OC.Settings.Apps.isType(app, 'prelogin') || - OC.Settings.Apps.isType(app, 'authentication') || OC.Settings.Apps.isType(app, 'logging')) { + OC.Settings.Apps.isType(app, 'authentication') || OC.Settings.Apps.isType(app, 'logging') || + OC.Settings.Apps.isType(app, 'prevent_group_restriction')) { page.find(".groups-enable").hide(); page.find(".groups-enable__checkbox").attr('checked', null); } else { |