|
|
@ -1192,7 +1192,7 @@ var TorrentsTable = new Class({ |
|
|
|
break; // do nothing
|
|
|
|
break; // do nothing
|
|
|
|
case CATEGORIES_UNCATEGORIZED: |
|
|
|
case CATEGORIES_UNCATEGORIZED: |
|
|
|
if (row['full_data'].category.length !== 0) |
|
|
|
if (row['full_data'].category.length !== 0) |
|
|
|
return false |
|
|
|
return false; |
|
|
|
break; // do nothing
|
|
|
|
break; // do nothing
|
|
|
|
default: |
|
|
|
default: |
|
|
|
if (categoryHashInt !== genHash(row['full_data'].category)) |
|
|
|
if (categoryHashInt !== genHash(row['full_data'].category)) |
|
|
@ -1396,7 +1396,7 @@ var TorrentPeersTable = new Class({ |
|
|
|
// files
|
|
|
|
// files
|
|
|
|
|
|
|
|
|
|
|
|
this.columns['files'].updateTd = function(td, row) { |
|
|
|
this.columns['files'].updateTd = function(td, row) { |
|
|
|
td.innerHTML = escapeHtml(this.getRowValue(row, 0).replace('\n', ';')); |
|
|
|
td.innerHTML = escapeHtml(this.getRowValue(row, 0).replace(/\n/g, ';')); |
|
|
|
td.title = escapeHtml(this.getRowValue(row, 0)); |
|
|
|
td.title = escapeHtml(this.getRowValue(row, 0)); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -1478,7 +1478,7 @@ var SearchResultsTable = new Class({ |
|
|
|
min: minSeeds, |
|
|
|
min: minSeeds, |
|
|
|
max: maxSeeds |
|
|
|
max: maxSeeds |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
var filteredRows = []; |
|
|
|
var filteredRows = []; |
|
|
|
var rows = this.rows.getValues(); |
|
|
|
var rows = this.rows.getValues(); |
|
|
|