mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
WebUI: access attribute/property natively
It is now clearer to see what property is being accessed. Previously mootools library would re-map attribute/property to another. PR #21007.
This commit is contained in:
@@ -40,13 +40,13 @@
|
||||
if (!uriCategoryName)
|
||||
return false;
|
||||
|
||||
$("categoryName").set("disabled", true);
|
||||
$("categoryName").set("value", window.qBittorrent.Misc.escapeHtml(uriCategoryName));
|
||||
$("savePath").set("value", window.qBittorrent.Misc.escapeHtml(uriSavePath));
|
||||
$("categoryName").disabled = true;
|
||||
$("categoryName").value = window.qBittorrent.Misc.escapeHtml(uriCategoryName);
|
||||
$("savePath").value = window.qBittorrent.Misc.escapeHtml(uriSavePath);
|
||||
$("savePath").focus();
|
||||
}
|
||||
else if (uriAction === "createSubcategory") {
|
||||
$("categoryName").set("value", window.qBittorrent.Misc.escapeHtml(uriCategoryName));
|
||||
$("categoryName").value = window.qBittorrent.Misc.escapeHtml(uriCategoryName);
|
||||
$("categoryName").focus();
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user