1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/dist/js/functions.js

10 lines
272 B
JavaScript
Raw Normal View History

function CheckPSK(psk, id) {
if(psk.value.length < 8 || psk.value.length > 63) {
psk.style.background='#FFD0D0';
document.getElementById(id).disabled = true;
} else {
psk.style.background='#D0FFD0';
document.getElementById(id).disabled = false;
2016-08-12 23:22:21 +02:00
}
2015-02-27 17:18:38 +01:00
}