summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-06-07 12:28:02 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-09 15:15:17 +0200
commitbb54ab0db8bfa1ea62bfa2404cb084a9a68d6e20 (patch)
tree8127443d4c554ebcd1401ce8227408038f8717e2 /apps/files_sharing/js
parentfc3ad7d5f7acb018329b22d5120c03cd07feecd6 (diff)
downloadnextcloud-server-bb54ab0db8bfa1ea62bfa2404cb084a9a68d6e20.tar.gz
nextcloud-server-bb54ab0db8bfa1ea62bfa2404cb084a9a68d6e20.zip
add hide file list option
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/public.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 572ccc47b71..7f780fd09e7 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -238,6 +238,11 @@ 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();
@@ -302,7 +307,7 @@ OCA.Sharing.PublicApp = {
$('#save-button-confirm')
.removeClass("icon-loading-small")
.addClass("icon-confirm");
-
+
}
else {
$('#save-button-confirm')
@@ -314,7 +319,7 @@ OCA.Sharing.PublicApp = {
toggleLoading();
var location = window.location.protocol + '//' + window.location.host + OC.webroot;
-
+
if(remote.substr(-1) !== '/') {
remote += '/'
};