disableing advanced search

kamidu 8 years ago
parent 0522493e12
commit caf2d40bda

@ -464,11 +464,11 @@ function loadDevices(searchType, searchParam) {
attachDeviceEvents(); attachDeviceEvents();
if ($('.advance-search').length < 1) { // if ($('.advance-search').length < 1) {
$(this).closest('.dataTables_wrapper').find('div[id$=_filter] input') // $(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
.after('<a href="' + context + '/devices/search"' + // .after('<a href="' + context + '/devices/search"' +
' class="advance-search add-padding-3x">Advance Search</a>'); // ' class="advance-search add-padding-3x">Advance Search</a>');
} // }
}, { }, {
"placeholder": "Search By Device Name", "placeholder": "Search By Device Name",

Loading…
Cancel
Save