fixes #935 disables password ofr open ap selects

Only works if htmk class l is not removed and html not changed, js will have to be updated if changed
This commit is contained in:
tablatronix
2019-09-12 09:53:49 -05:00
parent 58428ec1f8
commit bd8320a45a
3 changed files with 24 additions and 4 deletions
+8 -2
View File
@@ -11,11 +11,12 @@
// preventDefault();
document.getElementById('s').value = l.innerText || l.textContent;
// document.location.href = document.location +"#wmform";
document.getElementById('p').focus();
p = l.nextElementSibling.classList.contains("l");
document.getElementById('p').disabled = !p;
if(p)document.getElementById('p').focus();
return false;
}
</script>
<style>
@@ -124,6 +125,11 @@ a:hover {
background-size: 95px 16px;
}
}
input:disabled {
opacity: 0.5;
}
</style>
</head>