diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-18 18:23:33 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-22 19:13:34 +0300 |
commit | 35024beb9c6b37db260d3994c73f2f432230932b (patch) | |
tree | 00defa7a0a92c365df1815771e9ffe073d60cd75 /settings/js/admin.js | |
parent | 6aa28037c7d611f91c4f5fa2e4df5b9ab9e51a54 (diff) |
Add `allow sharing with groups` checkbox to admin page
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 4 |
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); }); |