aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-18 16:23:33 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-22 17:13:34 +0100
commit35024beb9c6b37db260d3994c73f2f432230932b (patch)
tree00defa7a0a92c365df1815771e9ffe073d60cd75 /settings/js
parent6aa28037c7d611f91c4f5fa2e4df5b9ab9e51a54 (diff)
downloadnextcloud-server-35024beb9c6b37db260d3994c73f2f432230932b.tar.gz
nextcloud-server-35024beb9c6b37db260d3994c73f2f432230932b.zip
Add `allow sharing with groups` checkbox to admin page
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/admin.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 90b1de68370..1bbb20efa00 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -161,6 +161,10 @@ $(document).ready(function(){
});
});
+ $('#allowGroupSharing').change(function() {
+ $('#allowGroupSharing').toggleClass('hidden', !this.checked);
+ });
+
$('#shareapiExcludeGroups').change(function() {
$("#selectExcludedGroups").toggleClass('hidden', !this.checked);
});