mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 08:32:31 -06:00
committed by
sledgehammer999
parent
ae44e59c9a
commit
0499111156
@@ -697,11 +697,12 @@
|
||||
};
|
||||
|
||||
const removeItem = (paths) => {
|
||||
const encodedPaths = paths.map((path) => encodeURIComponent(path));
|
||||
new MochaUI.Window({
|
||||
id: 'confirmFeedDeletionPage',
|
||||
title: 'QBT_TR(Deletion confirmation)QBT_TR[CONTEXT=RSSWidget]',
|
||||
loadMethod: 'iframe',
|
||||
contentURL: 'confirmfeeddeletion.html?paths=' + encodeURIComponent(paths.join('|')),
|
||||
contentURL: 'confirmfeeddeletion.html?paths=' + encodeURIComponent(encodedPaths.join('|')),
|
||||
scrollbars: false,
|
||||
resizable: false,
|
||||
maximizable: false,
|
||||
|
||||
@@ -535,11 +535,12 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
|
||||
};
|
||||
|
||||
const removeRules = (rules) => {
|
||||
const encodedRules = rules.map((rule) => encodeURIComponent(rule));
|
||||
new MochaUI.Window({
|
||||
id: 'removeRulePage',
|
||||
title: 'QBT_TR(Rule deletion confirmation)QBT_TR[CONTEXT=AutomatedRssDownloader]',
|
||||
loadMethod: 'iframe',
|
||||
contentURL: 'confirmruledeletion.html?rules=' + encodeURIComponent(rules.join('|')),
|
||||
contentURL: 'confirmruledeletion.html?rules=' + encodeURIComponent(encodedRules.join('|')),
|
||||
scrollbars: false,
|
||||
resizable: false,
|
||||
maximizable: false,
|
||||
@@ -549,11 +550,12 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
|
||||
};
|
||||
|
||||
const clearDownloadedEpisodes = (rules) => {
|
||||
const encodedRules = rules.map((rule) => encodeURIComponent(rule));
|
||||
new MochaUI.Window({
|
||||
id: 'clearRulesPage',
|
||||
title: 'QBT_TR(New rule name)QBT_TR[CONTEXT=AutomatedRssDownloader]',
|
||||
loadMethod: 'iframe',
|
||||
contentURL: 'confirmruleclear.html?rules=' + encodeURIComponent(rules.join('|')),
|
||||
contentURL: 'confirmruleclear.html?rules=' + encodeURIComponent(encodedRules.join('|')),
|
||||
scrollbars: false,
|
||||
resizable: false,
|
||||
maximizable: false,
|
||||
|
||||
Reference in New Issue
Block a user