(trunk web) prevent extra pointless requests

This commit is contained in:
Kevin Glowacz 2009-05-22 23:46:14 +00:00
parent 77f282f958
commit d90c3f04b4
1 changed files with 2 additions and 1 deletions

View File

@ -1110,6 +1110,7 @@ Transmission.prototype =
new_torrent_ids.push(this.id);
} );
if(refresh_files_for.length > 0)
tr.remote.loadTorrentFiles( refresh_files_for );
if(new_torrent_ids.length > 0)