1
0
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:
mvoelkel 2019-11-08 20:27:52 +01:00
parent 0cf34dc35b
commit 80e076c89a

View File

@ -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;