(trunk web) don't try to show a file list that is already showing. It causes hangs in FF3.5
This commit is contained in:
parent
8cafb677da
commit
9f75e3ba61
|
@ -192,7 +192,13 @@ Torrent.prototype =
|
|||
totalSeeders: function() { return this._total_seeders; },
|
||||
uploadSpeed: function() { return this._upload_speed; },
|
||||
uploadTotal: function() { return this._upload_total; },
|
||||
showFileList: function() { this.ensureFileListExists(); this.refreshFileView(); this.fileList().show(); },
|
||||
showFileList: function() {
|
||||
if(this.fileList().is(':visible'))
|
||||
return;
|
||||
this.ensureFileListExists();
|
||||
this.refreshFileView();
|
||||
this.fileList().show();
|
||||
},
|
||||
hideFileList: function() { this.fileList().hide(); },
|
||||
|
||||
/*--------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue