From: Volkan Gezer Date: Thu, 29 May 2014 19:09:56 +0000 (+0200) Subject: make reshare settings foldable X-Git-Tag: v7.0.0alpha2~158^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c01f196f723dcb3dea6947c821a70d4d80563bbd;p=nextcloud-server.git make reshare settings foldable --- diff --git a/settings/js/admin.js b/settings/js/admin.js index 249131464a8..9353333b47e 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -83,6 +83,9 @@ $(document).ready(function(){ $('#allowLinks').change(function() { $("#publicLinkSettings").toggleClass('hidden', !this.checked); }); + $('#allowResharing').change(function() { + $("#resharingSettings").toggleClass('hidden', !this.checked); + }); $('#security').change(function(){ $.post(OC.filePath('settings','ajax','setsecurity.php'), { enforceHTTPS: $('#forcessl').val() },function(){} ); diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 9b632391f88..a410447551e 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -248,16 +248,14 @@ if (!$_['internetconnectionworking']) { value="1" />
t('Allow users to share items shared with them again')); ?> - - - - > - /> -
- /> -
+
> + /> +
+ /> +
+