1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +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:
Kevin Glowacz 2009-05-25 00:41:44 +00:00
parent 8cafb677da
commit 9f75e3ba61

View file

@ -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(); },
/*--------------------------------------------