|
|
@ -776,7 +776,7 @@ var TorrentsTable = new Class({ |
|
|
|
// state_icon
|
|
|
|
// state_icon
|
|
|
|
this.columns['state_icon'].updateTd = function (td, row) { |
|
|
|
this.columns['state_icon'].updateTd = function (td, row) { |
|
|
|
var state = this.getRowValue(row); |
|
|
|
var state = this.getRowValue(row); |
|
|
|
|
|
|
|
// normalize states
|
|
|
|
switch (state) { |
|
|
|
switch (state) { |
|
|
|
case "forcedDL": |
|
|
|
case "forcedDL": |
|
|
|
case "metaDL": |
|
|
|
case "metaDL": |
|
|
@ -805,11 +805,11 @@ var TorrentsTable = new Class({ |
|
|
|
state = "checking"; |
|
|
|
state = "checking"; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "unknown": |
|
|
|
case "unknown": |
|
|
|
case "error": |
|
|
|
|
|
|
|
case "missingFiles": |
|
|
|
case "missingFiles": |
|
|
|
default: |
|
|
|
|
|
|
|
state = "error"; |
|
|
|
state = "error"; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
break; // do nothing
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var img_path = 'images/skin/' + state + '.png'; |
|
|
|
var img_path = 'images/skin/' + state + '.png'; |
|
|
|