From e1857099a7e2fa8d42d49a04b995661de4bfa015 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Thu, 6 Jul 2017 14:17:16 +0530 Subject: [PATCH] Fixes wso2/product-iots#1083 --- .../devicemgt/app/pages/cdmf.page.policies/policies.hbs | 2 +- .../units/cdmf.unit.policy.create/public/js/policy-create.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.policies/policies.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.policies/policies.hbs index 1819831912..fcce815fc0 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.policies/policies.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.policies/policies.hbs @@ -209,7 +209,7 @@ data-search="{{platform}}" data-display="{{platform}}"> - 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 303f338140..789f0114bd 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 @@ -66,7 +66,7 @@ var disableInlineError = function (inputField, errorMsg, errorSign) { */ function loadGroups(callback) { invokerUtil.get( - "/api/device-mgt/v1.0/groups", + "/api/device-mgt/v1.0/admin/groups", function (data) { data = JSON.parse(data); callback(data.deviceGroups);