diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-06-13 17:41:45 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-06-17 14:33:14 +0200 |
commit | 9e74787c8a4109177010578612c0746ac69a7f90 (patch) | |
tree | eec72cced73f7e940579075962110b39ee838165 /settings/js | |
parent | ce179dcdcb171aef4f7e84025706237b54f0340f (diff) | |
download | nextcloud-server-9e74787c8a4109177010578612c0746ac69a7f90.tar.gz nextcloud-server-9e74787c8a4109177010578612c0746ac69a7f90.zip |
Migrate table layout to p layout for share settings
ref #8906
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/admin.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index bc95c6a3dc5..7036f6dbf2a 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -60,7 +60,7 @@ $(document).ready(function(){ }); $('#shareAPIEnabled').change(function() { - $('.shareAPI td:not(#enable)').toggle(); + $('#shareAPI p:not(#enable)').toggleClass('hidden', !this.checked); }); $('#shareAPI input').change(function() { @@ -82,6 +82,7 @@ $(document).ready(function(){ $('#allowLinks').change(function() { $("#publicLinkSettings").toggleClass('hidden', !this.checked); + $('#setDefaultExpireDate').toggleClass('hidden', !(this.checked && $('#shareapiDefaultExpireDate')[0].checked)); }); $('#security').change(function(){ |