|
|
@ -460,8 +460,12 @@ function loadDevices(searchType, searchParam) {
|
|
|
|
$("#loading-content").remove();
|
|
|
|
$("#loading-content").remove();
|
|
|
|
attachDeviceEvents();
|
|
|
|
attachDeviceEvents();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" class="add-padding-3x">Advance Search</a>')
|
|
|
|
.after('<a href="'+context+'/devices/search"' +
|
|
|
|
|
|
|
|
' class="advance-search add-padding-3x">Advance Search</a>');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
"placeholder": "Search By Device Name",
|
|
|
|
"placeholder": "Search By Device Name",
|
|
|
|
"searchKey": "name"
|
|
|
|
"searchKey": "name"
|
|
|
|