yweb: fix rc selection for cst

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f15dd1632
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-16 (Sun, 16 May 2021)

Origin message was:
------------------
- yweb: fix rc selection for cst

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-05-16 23:58:53 +02:00
parent 1161502c25
commit 07265b5912
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,3 +1,3 @@
version=2.9.0.50
version=2.9.0.51
date=16.05.2021
info=NI-Neutrino