From caf2d40bdae37f4a1f4e6cedbdaf254866d0224a Mon Sep 17 00:00:00 2001 From: kamidu Date: Wed, 5 Apr 2017 11:23:05 +0530 Subject: [PATCH] disableing advanced search --- .../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 348b8d4c05..28c0e1f074 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",