5 <meta charset=
"UTF-8" />
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
.addEvent('domready', () => {
14 const paths
= new URI().getData('paths').split('|');
15 $('cancelBtn').focus();
16 $('cancelBtn').addEvent('click', (e
) => {
18 window
.parent
.closeWindows();
20 $('confirmBtn').addEvent('click', (e
) => {
22 let completionCount
= 0;
23 paths
.forEach((path
) => {
25 url
: 'api/v2/rss/removeItem',
29 path
: decodeURIComponent(path
)
31 onComplete
: (response
) => {
33 if (completionCount
=== paths
.length
) {
34 window
.parent
.qBittorrent
.Rss
.updateRssFeedList();
35 window
.parent
.closeWindows();
46 <div style=
"padding: 10px 10px 0px 10px;">
47 <p>QBT_TR(Are you sure you want to delete the selected RSS feeds?)QBT_TR[CONTEXT=RSSWidget]
</p>
48 <div style=
"text-align: right;">
49 <input type=
"button" id=
"cancelBtn" value=
"QBT_TR(No)QBT_TR[CONTEXT=MainWindow]" />
50 <input type=
"button" id=
"confirmBtn" value=
"QBT_TR(Yes)QBT_TR[CONTEXT=MainWindow]" />