From 5cd58d7454def6052ec308488408ff5e91b589b1 Mon Sep 17 00:00:00 2001 From: megala21 Date: Tue, 4 Apr 2017 14:18:24 +0530 Subject: [PATCH] Fixes https://github.com/wso2/product-iots/issues/335 --- .../cdmf.page.groups/public/js/listing.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js index a48ec46c88..7dfacfb41f 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js @@ -191,15 +191,15 @@ function loadGroups() { '';*/ } if (row.owner != "wso2.system.user") { - // if ($.hasPermission("SHARE_GROUP")) { - // html += - // '' - // + - // ''; - // } + if ($.hasPermission("SHARE_GROUP")) { + html += + '' + + + ''; + } if ($.hasPermission("UPDATE_GROUP")) { html += '