diff options
author | Dawid Opis <ncore@ncore.com.pl> | 2011-08-11 22:22:32 +0200 |
---|---|---|
committer | Dawid Opis <ncore@ncore.com.pl> | 2011-08-11 22:22:32 +0200 |
commit | 9683d44633cd24696573a0c3ca193a3b5d06f1b7 (patch) | |
tree | 5df4729a1a2a270568540dfda6b35882c52307d9 /files/js | |
parent | 8aac43c12b409ebfa53ca74aea1f2091cba348ea (diff) | |
download | nextcloud-server-9683d44633cd24696573a0c3ca193a3b5d06f1b7.tar.gz nextcloud-server-9683d44633cd24696573a0c3ca193a3b5d06f1b7.zip |
fixed upload button
Diffstat (limited to 'files/js')
-rw-r--r-- | files/js/files.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/files/js/files.js b/files/js/files.js index 519d48a523d..6af021c35bc 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -12,6 +12,12 @@ $(document).ready(function() { $('#plugins>ul>li:first-child').data('dir',''); $('#plugins>ul>li:first-child').droppable(crumbDropOptions); + // Triggers invisible file input + $('#file_upload_button_wrapper').bind('click', function() { + $('#file_upload_start').trigger('click'); + return false; + }); + // Sets the file-action buttons behaviour : $('tr').live('mouseenter',function(event) { FileActions.display($(this).children('td.filename')); |