From 741210890f31ef7e10b9975c902c9463a8ab25c8 Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Thu, 5 Mar 2020 19:28:54 +0530 Subject: [PATCH] Fix policy not loading due to missing comma in js --- .../public/js/operation-mod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.operation-mod/public/js/operation-mod.js b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.operation-mod/public/js/operation-mod.js index 5d640f106..4df307a5a 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.operation-mod/public/js/operation-mod.js +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.operation-mod/public/js/operation-mod.js @@ -136,7 +136,7 @@ var androidOperationModule = function () { "passcodePolicyMaxPasscodeAgeInDays": operationPayload["maxPINAgeInDays"], "passcodePolicyPasscodeHistory": operationPayload["pinHistory"], "maximumNumberOfFailedAttemptsBeforeDeviceLock": operationPayload["maxFailedAttemptsDeviceLock"], - "maximumNumberOfFailedAttemptsBeforeDeviceWipe": operationPayload["maxFailedAttemptsDeviceWipe"] + "maximumNumberOfFailedAttemptsBeforeDeviceWipe": operationPayload["maxFailedAttemptsDeviceWipe"], "passcodePolicyMaxTimeToLock": operationPayload["maxTimeToLock"], "passcodePolicyWPExist": operationPayload["passcodePolicyWPExist"] }; @@ -578,7 +578,7 @@ var androidOperationModule = function () { "maxPINAgeInDays": operationData["passcodePolicyMaxPasscodeAgeInDays"], "pinHistory": operationData["passcodePolicyPasscodeHistory"], "maxTimeToLock": operationData["passcodePolicyMaxTimeToLock"], - "passcodePolicyWPExist": operationData["passcodePolicyWPExist"] + "passcodePolicyWPExist": operationData["passcodePolicyWPExist"], "maxFailedAttemptsDeviceLock": operationData["maximumNumberOfFailedAttemptsBeforeDeviceLock"], "maxFailedAttemptsDeviceWipe": operationData["maximumNumberOfFailedAttemptsBeforeDeviceWipe"] }