From 074abf3053b6cef0fa688102f0ef0b54c53e5a0d Mon Sep 17 00:00:00 2001 From: dilanua Date: Tue, 27 Sep 2016 12:46:50 +0530 Subject: [PATCH] Fix for JIRA: https://wso2.org/jira/browse/EMM-1640 --- .../public/js/device-listing.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 9d1e6e7fc..a6d271147 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 @@ -170,7 +170,7 @@ function loadDevices() { class: 'fade-edge remove-padding-top', data: 'user', render: function (user) { - return '
' + user + '
'; + return '
' + user + '
'; } }, { @@ -180,33 +180,33 @@ function loadDevices() { var html; switch (status) { case 'ACTIVE' : - html = ' Active'; + html = '  Active'; break; - case 'INACTIVE' : - html = ' Inactive'; + case 'UNREACHABLE' : + html = '  Unreachable'; break; - case 'BLOCKED' : - html = ' Blocked'; + case 'INACTIVE' : + html = '  Inactive'; break; case 'REMOVED' : - html = ' Removed'; + html = '  Removed'; break; } - return '
' + html + '
'; + return '
' + html + '
'; } }, { className: 'fade-edge remove-padding-top', data: 'deviceType', render: function (deviceType) { - return '
' + deviceType + '
'; + return '
' + deviceType + '
'; } }, { className: 'fade-edge remove-padding-top', data: 'ownership', render: function (ownership) { - return '
' + ownership + '
'; + return '
' + ownership + '
'; } } ];