- yweb: fix rc selection for cst

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-05-16 23:58:53 +02:00
committed by Thilo Graf
parent cefd6dece1
commit 1a552181fd
2 changed files with 9 additions and 3 deletions

View File

@@ -34,8 +34,14 @@ function do_init(){
{
if (fb_options[i].value == val)
document.f.fb.selectedIndex = i;
if (cst && i > 2+8)
fb_options[i].disabled = true;
if (cst)
{
// rc_cst_trinity_duo is the last cst rc in selection
if (val > {=var-get:_rc_cst_trinity_duo=})
val = {=var-get:_rc_auto=};
if (fb_options[i].value > {=var-get:_rc_cst_trinity_duo=})
fb_options[i].disabled = true;
}
}
obj_set_radio_value('screenshot_rc', "{=ini-get:%(CONFIGDIR)/Y-Web.conf;screenshot_rc;false~cache=}");
val = "{=ini-get:%(CONFIGDIR)/Y-Web.conf;start_page;bouquets~cache=}";

View File

@@ -1,4 +1,4 @@
version=2.9.0.50
version=2.9.0.51
date=16.05.2021
info=Tuxbox-Neutrino
type=Release