Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

mag256 external settings checkbox #262

Open
adam852 opened this issue Oct 14, 2016 · 1 comment
Open

mag256 external settings checkbox #262

adam852 opened this issue Oct 14, 2016 · 1 comment

Comments

@adam852
Copy link

adam852 commented Oct 14, 2016

Hello.

Checkboxes don't work in external settings on mag256. I made changes(adding function checkbox) to file external/settings/js/pres.js, and it start works on mag256, but on mag254 doesn't. I think there is a difference between mag254 and mag256 in checkbox handling.

function checkbox() {
if (document.activeElement.type == "checkbox"){
if(document.activeElement.checked) document.activeElement.checked = false;
else document.activeElement.checked = true;
}
}

function pressKey(e)
{
ec = e.keyCode;
if(!block)switch(ec)
{
case 9:e.preventDefault();break;
case 27:parent.wifi_ssid.length=0;back();break;
case 13:checkbox();fc=true;break;

@borovskiu
Copy link

Please, contact support support@infomir.eu

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants