From 2486c3ff5d76ca349c3bc7ba65dc949d7fb42874 Mon Sep 17 00:00:00 2001 From: kamidu Date: Tue, 16 Aug 2016 14:55:15 +0530 Subject: [PATCH] remove tables headers when there is no enroll devices in the system --- .../app/pages/mdm.page.devices/public/js/device-listing.js | 1 + 1 file changed, 1 insertion(+) 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 bb247219d0..423cdbd15a 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 @@ -450,6 +450,7 @@ function initPage() { loadDevices(); } else { $("#loading-content").remove(); + $("#device-table").remove(); $("#device-listing-status-msg").text("No enrolled device is found."); $("#device-listing-status").removeClass(' hidden'); }