From 00e4ac11229504d1f9b0f6af9b95c63e86436c63 Mon Sep 17 00:00:00 2001 From: kamidu Date: Wed, 5 Apr 2017 11:23:05 +0530 Subject: [PATCH] disableing advanced search (cherry picked from commit caf2d40) --- .../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 348b8d4c055..28c0e1f0745 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",