From b2650e439c8652f520a782862a6679193c8e495c Mon Sep 17 00:00:00 2001 From: Madawa Soysa Date: Thu, 1 Dec 2016 15:23:00 +0530 Subject: [PATCH] Fix issue with policy wrapper group select --- .../units/cdmf.unit.policy.create/public/js/policy-create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/public/js/policy-create.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/public/js/policy-create.js index b783f165c6..d52d8e7df4 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/public/js/policy-create.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/public/js/policy-create.js @@ -201,7 +201,7 @@ stepForwardFrom["policy-criteria"] = function () { } }); policy["selectedGroups"] = $("#groups-input").val(); - if (policy["selectedGroup"] && (policy["selectedGroups"].length > 1 || policy["selectedGroups"][0] !== "NONE")) { + if (policy["selectedGroups"] && (policy["selectedGroups"].length > 1 || policy["selectedGroups"][0] !== "NONE")) { policy["selectedGroups"] = createDeviceGroupWrapper(policy["selectedGroups"]); }