Changing the equality check

This commit is contained in:
Megala 2016-10-06 11:50:57 +05:30
parent 51d6baf1d2
commit 10372a7f4e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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