[Web UI] Massive increase in performance.

This commit is contained in:
ngosang 2015-07-20 02:13:44 +02:00
parent 3864a7fdc6
commit 2db942e606
2 changed files with 8 additions and 1 deletions

View file

@ -174,11 +174,11 @@ window.addEvent('load', function () {
response['torrents'][key]['hash'] = key;
myTable.updateRowData(response['torrents'][key]);
}
myTable.updateTable(full_update);
if (response['torrents_removed'])
response['torrents_removed'].each(function (hash) {
myTable.removeRow(hash);
});
myTable.updateTable(full_update);
myTable.altRow();
if (response['server_state']) {
var tmp = response['server_state'];