From e7490dd278b0d055819640598bdd75cb364d36a2 Mon Sep 17 00:00:00 2001 From: sinthuja Date: Wed, 17 May 2017 17:24:37 +0530 Subject: [PATCH] Fixing https://github.com/wso2/product-iots/issues/443. --- .../public/js/policy-edit.js | 80 ++++++++++++++++--- 1 file changed, 70 insertions(+), 10 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js index 7296b3ed893..e2a7182b6ba 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js @@ -164,6 +164,12 @@ skipStep["policy-platform"] = function (policyPayloadObj) { $("#users-radio-btn").prop("checked", true); $("#users-select-field").show(); $("#user-roles-select-field").hide(); + $.each(currentlyEffected["users"], function (i, item) { + userInput.append($('