Browse Source

Merge pull request #10106 from Chocobo1/js

Various fixes in WebUI
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
d7c561df6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/webui/www/private/scripts/dynamicTable.js

6
src/webui/www/private/scripts/dynamicTable.js

@ -1192,7 +1192,7 @@ var TorrentsTable = new Class({ @@ -1192,7 +1192,7 @@ var TorrentsTable = new Class({
break; // do nothing
case CATEGORIES_UNCATEGORIZED:
if (row['full_data'].category.length !== 0)
return false
return false;
break; // do nothing
default:
if (categoryHashInt !== genHash(row['full_data'].category))
@ -1396,7 +1396,7 @@ var TorrentPeersTable = new Class({ @@ -1396,7 +1396,7 @@ var TorrentPeersTable = new Class({
// files
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));
};
@ -1478,7 +1478,7 @@ var SearchResultsTable = new Class({ @@ -1478,7 +1478,7 @@ var SearchResultsTable = new Class({
min: minSeeds,
max: maxSeeds
}
}
};
var filteredRows = [];
var rows = this.rows.getValues();

Loading…
Cancel
Save