From 0160bf5feebbd55148355b8e28864c3bd57ca2d5 Mon Sep 17 00:00:00 2001 From: kamidu Date: Thu, 15 Sep 2016 19:26:48 +0530 Subject: [PATCH] Fix for EMM-1546 --- .../app/pages/mdm.page.devices/public/js/device-listing.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js index 98b2ab00d..03cdd769e 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js @@ -76,8 +76,10 @@ function loadDevices() { return {}; } - var fnCreatedRow = function (nRow) { + var fnCreatedRow = function (nRow, aData, dataIndex) { $(nRow).attr('data-type', 'selectable'); + $(nRow).attr('data-deviceid', aData.deviceIdentifier); + $(nRow).attr('data-devicetype', aData.deviceType); };