mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(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
1 changed files with 7 additions and 1 deletions
|
@ -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 a new issue