Added "Paused" filter to the Web UI too

This commit is contained in:
Christophe Dumez 2010-05-24 19:05:07 +00:00
parent bbac79c030
commit 2e51e69cc9
3 changed files with 10 additions and 1 deletions

View file

@ -203,6 +203,13 @@ var dynamicTable = new Class ({
tr.addClass("invisible");
}
break;
case 'paused':
if(status == "pausedDL" || status == "pausedUP") {
tr.removeClass("invisible");
} else {
tr.addClass("invisible");
}
break;
case 'active':
if(status == "downloading" || status == "uploading") {
tr.removeClass("invisible");