diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-18 17:27:34 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-18 17:27:34 +0200 |
commit | 45de7ad221f9e505abdabcc5084dd12c80851469 (patch) | |
tree | 9afe2994fe01d35cf7aa2e16389c04bb3e298faf /files/js/admin.js | |
parent | dfc92675e0d76ad9550a274b712e084e1738831c (diff) | |
download | nextcloud-server-45de7ad221f9e505abdabcc5084dd12c80851469.tar.gz nextcloud-server-45de7ad221f9e505abdabcc5084dd12c80851469.zip |
move files to app folder
Diffstat (limited to 'files/js/admin.js')
-rw-r--r-- | files/js/admin.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/files/js/admin.js b/files/js/admin.js deleted file mode 100644 index bfa96670635..00000000000 --- a/files/js/admin.js +++ /dev/null @@ -1,23 +0,0 @@ -function switchPublicFolder() -{ - var publicEnable = $('#publicEnable').is(':checked'); - var sharingaimGroup = $('input:radio[name=sharingaim]'); //find all radiobuttons of that group - $.each(sharingaimGroup, function(index, sharingaimItem) { - sharingaimItem.disabled = !publicEnable; //set all buttons to the correct state - }); -} - -$(document).ready(function(){ - switchPublicFolder(); // Execute the function after loading DOM tree - $('#publicEnable').click(function(){ - switchPublicFolder(); // To get rid of onClick() - }); - - $('#allowZipDownload').bind('change', function() { - if($('#allowZipDownload').attr('checked')) { - $('#maxZipInputSize').removeAttr('disabled'); - } else { - $('#maxZipInputSize').attr('disabled', 'disabled'); - } - }); -}); |