6 <title>QBT_TR(Deletion confirmation)QBT_TR[CONTEXT=RSSWidget]
</title>
7 <link rel=
"stylesheet" href=
"css/style.css?v=${CACHEID}" type=
"text/css">
8 <script src=
"scripts/lib/MooTools-Core-1.6.0-compat-compressed.js"></script>
9 <script src=
"scripts/lib/MooTools-More-1.6.0-compat-compressed.js"></script>
13 window
.addEventListener("DOMContentLoaded", () => {
14 const paths
= new URI().getData("paths").split("|");
15 $("cancelBtn").focus();
16 $("cancelBtn").addEventListener("click", (e
) => {
19 window
.parent
.qBittorrent
.Client
.closeWindows();
21 $("confirmBtn").addEventListener("click", (e
) => {
25 let completionCount
= 0;
26 paths
.forEach((path
) => {
28 url
: "api/v2/rss/removeItem",
31 path
: decodeURIComponent(path
)
33 onComplete
: (response
) => {
35 if (completionCount
=== paths
.length
) {
36 window
.parent
.qBittorrent
.Rss
.updateRssFeedList();
37 window
.parent
.qBittorrent
.Client
.closeWindows();
48 <div style=
"padding: 10px 10px 0px 10px;">
49 <p>QBT_TR(Are you sure you want to delete the selected RSS feeds?)QBT_TR[CONTEXT=RSSWidget]
</p>
50 <div style=
"text-align: right;">
51 <input type=
"button" id=
"cancelBtn" value=
"QBT_TR(No)QBT_TR[CONTEXT=MainWindow]">
52 <input type=
"button" id=
"confirmBtn" value=
"QBT_TR(Yes)QBT_TR[CONTEXT=MainWindow]">