Browse Source

Merge pull request #13388 from Chocobo1/webui

Add missing semicolons in WebUI
adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
70d9ea8034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/webui/www/private/scripts/dynamicTable.js
  2. 4
      src/webui/www/private/scripts/mocha-init.js
  3. 2
      src/webui/www/private/views/rss.html
  4. 2
      src/webui/www/private/views/rssDownloader.html

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

@ -1305,9 +1305,9 @@ window.qBittorrent.DynamicTable = (function() { @@ -1305,9 +1305,9 @@ window.qBittorrent.DynamicTable = (function() {
return false;
break;
default:
const tracker = trackerList.get(trackerHashInt)
const tracker = trackerList.get(trackerHashInt);
if (tracker && !tracker.torrents.includes(row['full_data'].rowId))
return false
return false;
break;
}

4
src/webui/www/private/scripts/mocha-init.js

@ -824,7 +824,7 @@ const initializeWindows = function() { @@ -824,7 +824,7 @@ const initializeWindows = function() {
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
break;
default:
hashes = trackerList.get(trackerHashInt).torrents
hashes = trackerList.get(trackerHashInt).torrents;
break;
}
@ -851,7 +851,7 @@ const initializeWindows = function() { @@ -851,7 +851,7 @@ const initializeWindows = function() {
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
break;
default:
hashes = trackerList.get(trackerHashInt).torrents
hashes = trackerList.get(trackerHashInt).torrents;
break;
}

2
src/webui/www/private/views/rss.html

@ -462,7 +462,7 @@ @@ -462,7 +462,7 @@
recFlatten(current[child], child, depth + 1, currentFullName);
}
}
}
};
recFlatten(response);
// check if rows matche flattend response

2
src/webui/www/private/views/rssDownloader.html

@ -456,7 +456,7 @@ Supports the formats: S01E01, 1x1, 2017.01.01 and 01.01.2017 (Date formats also @@ -456,7 +456,7 @@ Supports the formats: S01E01, 1x1, 2017.01.01 and 01.01.2017 (Date formats also
}).send();
$('savetoDifferentDir').addEvent('click', () => {
$('saveToText').disabled = !$('savetoDifferentDir').checked;
})
});
updateRulesList();
};

Loading…
Cancel
Save