Changing the equality check

revert-dabc3590
Megala 8 years ago
parent 51d6baf1d2
commit 10372a7f4e

@ -361,7 +361,7 @@ validateStep["policy-profile"] = function () {
if (wifiTypeUIElement.is("input:checkbox")) {
wifiType = wifiTypeUIElement.is(":checked").toString();
}
if (wifiType !== "none") {
if (wifiType != "none") {
if (!$("#wifi-password").val()) {
validationStatus = {
"error": true,

@ -388,7 +388,7 @@ validateStep["policy-profile"] = function () {
if (wifiTypeUIElement.is("input:checkbox")) {
wifiType = wifiTypeUIElement.is(":checked").toString();
}
if (wifiType !== "none") {
if (wifiType != "none") {
if (!$("#wifi-password").val()) {
validationStatus = {
"error": true,

Loading…
Cancel
Save