diff --git a/data/y-web/Y_Blocks.txt b/data/y-web/Y_Blocks.txt index 1954cbf94..ecf2b20bc 100644 --- a/data/y-web/Y_Blocks.txt +++ b/data/y-web/Y_Blocks.txt @@ -25,6 +25,7 @@ start-block~yWeb_save_settings {=ini-set:%(CONFIGDIR)/yWeb.conf;wol_desc_3;{=wol_desc_3=}~cache=} {=ini-set:%(CONFIGDIR)/yWeb.conf;fb;{=fb=}~cache=} {=ini-set:%(CONFIGDIR)/yWeb.conf;screenshot_rc;{=screenshot_rc=}~cache=} +{=ini-set:%(CONFIGDIR)/yWeb.conf;screenshot_timeout;{=screenshot_timeout=}~cache=} {=ini-set:%(CONFIGDIR)/yWeb.conf;start_page;{=start_page=}~cache=} {=ini-set:%(CONFIGDIR)/yWeb.conf;style;{=style=}~cache=} {=ini-set:%(CONFIGDIR)/yWeb.conf;yweb_box_name;{=yweb_box_name=}~cache=} diff --git a/data/y-web/Y_Settings_yWeb.yhtm b/data/y-web/Y_Settings_yWeb.yhtm index 9d1996df6..4232d8841 100644 --- a/data/y-web/Y_Settings_yWeb.yhtm +++ b/data/y-web/Y_Settings_yWeb.yhtm @@ -26,7 +26,7 @@ function do_submit(){ } } function do_init(){ - var val = "{=ini-get:/var/tuxbox/config/yWeb.conf;fb;0~open=}"; + var val = "{=ini-get:%(CONFIGDIR)/yWeb.conf;fb;0~open=}"; var cst = (loadSyncURL("/control/info?hwinfo").indexOf("CST") > -1); var fb_options = document.f.fb.getElementsByTagName("option"); for (var i = 0; i < fb_options.length; i++) @@ -136,10 +136,24 @@ select {