attach on to filelist instead of individual td elements for file link behaviour

This commit is contained in:
Jörn Friedrich Dreyer 2013-01-30 17:10:40 +01:00
parent 22812c5f0d
commit 263c3f3a42
1 changed files with 1 additions and 1 deletions

View File

@ -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) {