diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-08 19:52:44 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-08 19:52:51 +0200 |
commit | 541c40f3cc9389523088c6b05aa96448b6473827 (patch) | |
tree | e5e5b8cd3663473636e02384a7a0147a311df25c /files | |
parent | e3e0a28b62dff84cee4ab76af38886cbb1ab846a (diff) | |
download | nextcloud-server-541c40f3cc9389523088c6b05aa96448b6473827.tar.gz nextcloud-server-541c40f3cc9389523088c6b05aa96448b6473827.zip |
fix broken directory links for some browsers
Diffstat (limited to 'files')
-rw-r--r-- | files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js index 19ce99a9bfb..3c02110fe26 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -39,7 +39,7 @@ $(document).ready(function() { // Sets the file link behaviour : $('td.filename a').live('click',function(event) { event.preventDefault(); - var filename=$(this).text(); + var filename=$(this).parent().parent().attr('data-file'); var mime=$(this).parent().parent().attr('data-mime'); var type=$(this).parent().parent().attr('data-type'); var action=FileActions.getDefault(mime,type); |