mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
deselect unsupported delivery systems (aka no checkbox)
This commit is contained in:
parent
0cf34dc35b
commit
80e076c89a
@ -193,6 +193,14 @@ function ShowDelsys()
|
||||
Element.parentElement.style.visibility = "hidden";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
SupportedDelsys &= ~(1<<i);
|
||||
}
|
||||
}
|
||||
for(var i = DelSysID.length; i < 32; i++ )
|
||||
{
|
||||
SupportedDelsys &= ~(1<<i);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -252,10 +260,6 @@ function ChangeDelSys(delsys)
|
||||
NewSettings.DelsysMask |= (1<<5);
|
||||
document.getElementById(DelSysID[5]).checked = true;
|
||||
}
|
||||
if( delsys == 10 )
|
||||
{
|
||||
NewSettings.DelsysMask |= ((1<<18) & SupportedDelsys);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -270,10 +274,6 @@ function ChangeDelSys(delsys)
|
||||
NewSettings.DelsysMask &= ~(1<<6);
|
||||
document.getElementById(DelSysID[6]).checked = false;
|
||||
}
|
||||
if( delsys == 10 )
|
||||
{
|
||||
NewSettings.DelsysMask &= ~(1<<18);
|
||||
}
|
||||
}
|
||||
}
|
||||
document.getElementById("SetButton").disabled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user