From 8af596702bef6d95020a6c2ddb05f81a698c0d4d Mon Sep 17 00:00:00 2001 From: kamidu Date: Tue, 25 Oct 2016 12:05:08 +0530 Subject: [PATCH] Fix payload issues in manage payload policy --- .../public/js/operation-mod.js | 7 ++----- 1 file changed, 2 insertions(+), 5 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 9651e352b..e1e03e547 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 @@ -152,11 +152,8 @@ var operationModule = function () { case iosOperationConstants["DOMAIN_OPERATION_CODE"]: payload = { "operation": { - "accountDescription": operationData["calendarSubscriptionDescription"], - "hostName": operationData["calendarSubscriptionHostname"], - "username": operationData["calendarSubscriptionUsername"], - "password": operationData["calendarSubscriptionPassword"], - "useSSL": operationData["calendarSubscriptionUseSSL"] + "emailDomains": operationData["emailDomains"], + "webDomains": operationData["webDomains"] } }; break;