mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
parent
10eb921d70
commit
6bbb7b71cd
10 changed files with 285 additions and 29 deletions
|
@ -239,6 +239,27 @@ const initializeWindows = function() {
|
|||
});
|
||||
});
|
||||
|
||||
addClickEvent("manageCookies", (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
const id = "cookiesPage";
|
||||
new MochaUI.Window({
|
||||
id: id,
|
||||
title: "QBT_TR(Manage Cookies)QBT_TR[CONTEXT=CookiesDialog]",
|
||||
loadMethod: "xhr",
|
||||
contentURL: new URI("views/cookies.html").toString(),
|
||||
maximizable: false,
|
||||
paddingVertical: 0,
|
||||
paddingHorizontal: 0,
|
||||
width: loadWindowWidth(id, 900),
|
||||
height: loadWindowHeight(id, 400),
|
||||
onResize: function() {
|
||||
saveWindowSize(id);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
addClickEvent("upload", (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue