attach on to filelist instead of individual td elements for file link behaviour
This commit is contained in:
parent
22812c5f0d
commit
263c3f3a42
|
@ -118,7 +118,7 @@ $(document).ready(function() {
|
||||||
var lastChecked;
|
var lastChecked;
|
||||||
|
|
||||||
// Sets the file link behaviour :
|
// 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) {
|
if (event.ctrlKey || event.shiftKey) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (event.shiftKey) {
|
if (event.shiftKey) {
|
||||||
|
|
Loading…
Reference in New Issue