From b3d89e38eb930e8c9f890f4399bd830db01682f3 Mon Sep 17 00:00:00 2001 From: Vishanth Date: Wed, 19 Oct 2016 17:28:23 +0530 Subject: [PATCH] fixing the ios wifi payload --- .../mdm.unit.device.operation-mod/public/js/operation-mod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js index d54f38bcf..a3b6161f6 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-mod/public/js/operation-mod.js @@ -298,7 +298,7 @@ var operationModule = function () { case iosOperationConstants["WIFI_OPERATION_CODE"]: payload = { "wifiHiddenNetwork": operationPayload["hiddenNetwork"], - "wifiSSID": operationPayload["ssid"], + "wifiSSID": operationPayload["SSID"], "wifiAutoJoin": operationPayload["autoJoin"], "wifiProxyType": operationPayload["proxyType"], "wifiEncryptionType": operationPayload["encryptionType"], @@ -441,7 +441,7 @@ var operationModule = function () { operationType = operationTypeConstants["PROFILE"]; payload = { "operation": { - "ssid": operationData["wifiSSID"], + "SSID": operationData["wifiSSID"], "hiddenNetwork": operationData["wifiHiddenNetwork"], "autoJoin": operationData["wifiAutoJoin"], "proxyType": operationData["wifiProxyType"],