fix default file actions not working

This commit is contained in:
Robin Appelman 2011-08-17 00:21:12 +02:00
parent 9c3a836044
commit 462fe1e56b
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ $(document).ready(function() {
}); });
// Sets the file link behaviour : // Sets the file link behaviour :
$('td.filename.name a').live('click',function(event) { $('td.filename a').live('click',function(event) {
event.preventDefault(); event.preventDefault();
var filename=$(this).parent().parent().data('file'); var filename=$(this).parent().parent().data('file');
if(!FileList.isLoading(filename)){ if(!FileList.isLoading(filename)){