summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-02 14:37:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-02 14:37:10 +0200
commit6f4bdbdb9495227c1ad1bf170ad9caeddea127c7 (patch)
tree5ade5bbd941da3a80f9166a29f98fc76e3cd7684 /settings/js/admin.js
parentf0e69b2b99174c29859729c0d91d8b4a97c6f28b (diff)
parentc01f196f723dcb3dea6947c821a70d4d80563bbd (diff)
downloadnextcloud-server-6f4bdbdb9495227c1ad1bf170ad9caeddea127c7.tar.gz
nextcloud-server-6f4bdbdb9495227c1ad1bf170ad9caeddea127c7.zip
Merge pull request #8784 from owncloud/fold-reshare-settings
make reshare settings foldable
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index bc95c6a3dc5..8c7572fa394 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(){} );