summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-01-30 17:10:40 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-01-30 17:10:40 +0100
commit263c3f3a4222b77ef7a8169443435552a88f0a48 (patch)
tree7d953b798e241b7e6839fde5d17a2f95ac4d988d /apps/files
parent22812c5f0dc57b1598912cf51fd1e5b721519f2d (diff)
downloadnextcloud-server-263c3f3a4222b77ef7a8169443435552a88f0a48.tar.gz
nextcloud-server-263c3f3a4222b77ef7a8169443435552a88f0a48.zip
attach on to filelist instead of individual td elements for file link behaviour
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 9fd9b73a947..ed240214104 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -118,7 +118,7 @@ $(document).ready(function() {
var lastChecked;
// Sets the file link behaviour :
- $('td.filename').on('click','a',function(event) {
+ $('#fileList').on('click','td.filename a',function(event) {
if (event.ctrlKey || event.shiftKey) {
event.preventDefault();
if (event.shiftKey) {