- Fixed several issues with Web UI

This commit is contained in:
Christophe Dumez 2009-11-23 13:35:46 +00:00
parent 74f0737903
commit 34ba69e319
6 changed files with 17 additions and 11 deletions

View file

@ -93,11 +93,12 @@ window.addEvent('domready', function(){
row[8] = event.upspeed;
row[9] = event.eta;
row[10] = event.ratio;
if(row[2] != -1)
if(row[2] != "*")
queueing_enabled = true;
if(!torrent_hashes.contains(event.hash)) {
// New unfinished torrent
//torrent_hashes[torrent_hashes.length] = event.hash;
torrent_hashes[torrent_hashes.length] = event.hash;
//alert("Inserting row");
myTable.insertRow(event.hash, row);
} else {
// Update torrent data