mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Changing the equality check
This commit is contained in:
parent
51d6baf1d2
commit
10372a7f4e
@ -361,7 +361,7 @@ validateStep["policy-profile"] = function () {
|
|||||||
if (wifiTypeUIElement.is("input:checkbox")) {
|
if (wifiTypeUIElement.is("input:checkbox")) {
|
||||||
wifiType = wifiTypeUIElement.is(":checked").toString();
|
wifiType = wifiTypeUIElement.is(":checked").toString();
|
||||||
}
|
}
|
||||||
if (wifiType !== "none") {
|
if (wifiType != "none") {
|
||||||
if (!$("#wifi-password").val()) {
|
if (!$("#wifi-password").val()) {
|
||||||
validationStatus = {
|
validationStatus = {
|
||||||
"error": true,
|
"error": true,
|
||||||
|
|||||||
@ -388,7 +388,7 @@ validateStep["policy-profile"] = function () {
|
|||||||
if (wifiTypeUIElement.is("input:checkbox")) {
|
if (wifiTypeUIElement.is("input:checkbox")) {
|
||||||
wifiType = wifiTypeUIElement.is(":checked").toString();
|
wifiType = wifiTypeUIElement.is(":checked").toString();
|
||||||
}
|
}
|
||||||
if (wifiType !== "none") {
|
if (wifiType != "none") {
|
||||||
if (!$("#wifi-password").val()) {
|
if (!$("#wifi-password").val()) {
|
||||||
validationStatus = {
|
validationStatus = {
|
||||||
"error": true,
|
"error": true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user