From 35024beb9c6b37db260d3994c73f2f432230932b Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 18 Mar 2016 16:23:33 +0100 Subject: Add `allow sharing with groups` checkbox to admin page --- settings/js/admin.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'settings/js') 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); }); -- cgit v1.2.3