From 72f42645efd8ca79c32c90d467c4e917f6a66357 Mon Sep 17 00:00:00 2001 From: kamidu Date: Wed, 5 Apr 2017 11:13:21 +0530 Subject: [PATCH] fixing device status (cherry picked from commit fe71036) --- .../app/pages/cdmf.page.devices/public/js/listing.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js index 28c0e1f074..348b8d4c05 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js @@ -464,11 +464,11 @@ function loadDevices(searchType, searchParam) { attachDeviceEvents(); - // if ($('.advance-search').length < 1) { - // $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input') - // .after('Advance Search'); - // } + if ($('.advance-search').length < 1) { + $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input') + .after('Advance Search'); + } }, { "placeholder": "Search By Device Name",