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() {
return false; return false;
break; break;
default: default:
const tracker = trackerList.get(trackerHashInt) const tracker = trackerList.get(trackerHashInt);
if (tracker && !tracker.torrents.includes(row['full_data'].rowId)) if (tracker && !tracker.torrents.includes(row['full_data'].rowId))
return false return false;
break; break;
} }

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

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

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

@ -462,7 +462,7 @@
recFlatten(current[child], child, depth + 1, currentFullName); recFlatten(current[child], child, depth + 1, currentFullName);
} }
} }
} };
recFlatten(response); recFlatten(response);
// check if rows matche flattend 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
}).send(); }).send();
$('savetoDifferentDir').addEvent('click', () => { $('savetoDifferentDir').addEvent('click', () => {
$('saveToText').disabled = !$('savetoDifferentDir').checked; $('saveToText').disabled = !$('savetoDifferentDir').checked;
}) });
updateRulesList(); updateRulesList();
}; };

Loading…
Cancel
Save