diff --git a/src/webui/www/private/preferences_content.html b/src/webui/www/private/preferences_content.html index c2451b70d..a24fefc75 100644 --- a/src/webui/www/private/preferences_content.html +++ b/src/webui/www/private/preferences_content.html @@ -133,7 +133,7 @@ - + @@ -795,33 +795,31 @@ changeWatchFolderSelect = function(item) { if (item.value == "other") { + item.nextElementSibling.hidden = false; item.nextElementSibling.value = 'QBT_TR(Type folder here)QBT_TR[CONTEXT=HttpServer]'; item.nextElementSibling.select(); } else { + item.nextElementSibling.hidden = true; var text = item.options[item.selectedIndex].innerHTML; item.nextElementSibling.value = text; } }; - changeWatchFolderText = function(item) { - item.previousElementSibling.value = 'other'; - }; - pushWatchFolder = function(pos, folder, sel, other) { var myinput = ""; + var disableInput = (sel != "other"); var mycb = "