diff --git a/src/nhttpd/web/Y_Settings_nhttpd.yhtm b/src/nhttpd/web/Y_Settings_nhttpd.yhtm index a97d63800..872695929 100644 --- a/src/nhttpd/web/Y_Settings_nhttpd.yhtm +++ b/src/nhttpd/web/Y_Settings_nhttpd.yhtm @@ -9,6 +9,8 @@ function form_init() obj_set_radio_value('threading', "{=ini-get:/var/tuxbox/config/nhttpd.conf;webserver.threading;false=}"); obj_set_radio_value('mod_sendfile_sendAll', "{=ini-get:/var/tuxbox/config/nhttpd.conf;mod_sendfile.sendAll;false=}"); obj_set_radio_value('Tuxbox_DisplayLogos', "{=ini-get:/var/tuxbox/config/nhttpd.conf;Tuxbox.DisplayLogos;true=}"); // MARTII + + do_check_input_LogosURL() } function do_submit() { @@ -23,6 +25,13 @@ function do_submit() document.f.submit(); } } +function do_check_input_LogosURL() +{ + if(document.getElementById('Tuxbox_DisplayLogos').checked == true) + document.f.Tuxbox_LogosURL.readOnly = false; + else + document.f.Tuxbox_LogosURL.readOnly = true; +} //]]> @@ -102,8 +111,8 @@ function do_submit()