summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-14 15:22:36 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-14 15:45:47 +0100
commit0461b9dbb9f800951519fd1ffdb689157614ce99 (patch)
treef8c12e637d9c07427d9390ce1196a544129f3af2 /settings/js
parent8f89e3520d74e1805dc46947742a17683ece6ca7 (diff)
downloadnextcloud-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.js3
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 {