diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-09 17:45:16 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-09 17:55:26 +0200 |
commit | 6e99b0f59d3b0278c45d42dcec01ff554a89d979 (patch) | |
tree | e7f60f51f36517f15bd6a91e5d5bd1c1739f3d20 /apps/files_sharing/js/public.js | |
parent | 5fdde426eb416b470bc37c86a518c49767a55251 (diff) | |
download | nextcloud-server-6e99b0f59d3b0278c45d42dcec01ff554a89d979.tar.gz nextcloud-server-6e99b0f59d3b0278c45d42dcec01ff554a89d979.zip |
Make uploading possible via select and cleanup CSS
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r-- | apps/files_sharing/js/public.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 7f780fd09e7..bf06b2cd55b 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -238,11 +238,6 @@ OCA.Sharing.PublicApp = { $(this).select(); }); - $(document).on('click', '.content-wrapper-upload', function (e) { - //e.preventDefault(); - $('#file_upload_start').focus().trigger('click'); - }); - $('.save-form').submit(function (event) { event.preventDefault(); @@ -307,9 +302,7 @@ OCA.Sharing.PublicApp = { $('#save-button-confirm') .removeClass("icon-loading-small") .addClass("icon-confirm"); - - } - else { + } else { $('#save-button-confirm') .removeClass("icon-confirm") .addClass("icon-loading-small"); @@ -319,7 +312,6 @@ OCA.Sharing.PublicApp = { toggleLoading(); var location = window.location.protocol + '//' + window.location.host + OC.webroot; - if(remote.substr(-1) !== '/') { remote += '/' }; |