From 51d6baf1d26c351f74be5ff84d843e7cbf305f91 Mon Sep 17 00:00:00 2001 From: Megala Date: Thu, 6 Oct 2016 11:48:23 +0530 Subject: [PATCH] Reformatting code --- .../units/mdm.unit.policy.create/public/js/policy-create.js | 3 ++- .../devicemgt/app/units/mdm.unit.policy.edit/public/js/edit.js | 3 ++- 2 files changed, 4 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.policy.create/public/js/policy-create.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/js/policy-create.js index ae8c031a81..df2eb053a4 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/js/policy-create.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.create/public/js/policy-create.js @@ -365,7 +365,8 @@ validateStep["policy-profile"] = function () { if (!$("#wifi-password").val()) { validationStatus = { "error": true, - "subErrorMsg": "Password is required for the wifi security type " + wifiType + ". Please provide a password to proceed.", + "subErrorMsg": "Password is required for the wifi security type " + wifiType + ". " + + "Please provide a password to proceed.", "erroneousFeature": operation }; continueToCheckNextInputs = false; 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.policy.edit/public/js/edit.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.edit/public/js/edit.js index 5abf6b3f6c..f2b5c05d26 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.edit/public/js/edit.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.policy.edit/public/js/edit.js @@ -392,7 +392,8 @@ validateStep["policy-profile"] = function () { if (!$("#wifi-password").val()) { validationStatus = { "error": true, - "subErrorMsg": "Password is required for the wifi security type " + wifiType + ". Please provide a password to proceed.", + "subErrorMsg": "Password is required for the wifi security type " + wifiType + ". Please " + + "provide a password to proceed.", "erroneousFeature": operation }; continueToCheckNextInputs = false;