diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-04 22:02:27 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-04 22:02:27 +0200 |
commit | cde38eb00a16461ed5bdd612c18b2d821ca5c2ca (patch) | |
tree | be96f5c2f6d30729b2cb0f11399dfae0599b3c66 /files/js/files.js | |
parent | 4b9665a952e723075185b7ef8837c9e38432f63a (diff) | |
download | nextcloud-server-cde38eb00a16461ed5bdd612c18b2d821ca5c2ca.tar.gz nextcloud-server-cde38eb00a16461ed5bdd612c18b2d821ca5c2ca.zip |
fix fileactions following the link instead
Diffstat (limited to 'files/js/files.js')
-rw-r--r-- | files/js/files.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/files.js b/files/js/files.js index c758432a4f6..2e95a7881ef 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -14,13 +14,13 @@ $(document).ready(function() { ); // Sets the file-action buttons behaviour : - $('td.fileaction a').live('click',function() { + $('td.fileaction a').live('click',function(event) { event.preventDefault(); FileActions.display($(this).parent()); }); // Sets the file link behaviour : - $('td.filename a').live('click',function() { + $('td.filename a').live('click',function(event) { event.preventDefault(); var filename=$(this).text(); var mime=$(this).parent().parent().attr('data-mime'); |