mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix for multiple advance search element
This commit is contained in:
parent
a5d1f70c93
commit
3983780f7f
@ -460,8 +460,12 @@ function loadDevices(searchType, searchParam) {
|
|||||||
$("#loading-content").remove();
|
$("#loading-content").remove();
|
||||||
attachDeviceEvents();
|
attachDeviceEvents();
|
||||||
|
|
||||||
$(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
|
if($('.advance-search').length < 1){
|
||||||
.after('<a href="'+context+'/devices/search" class="add-padding-3x">Advance Search</a>')
|
$(this).closest('.dataTables_wrapper').find('div[id$=_filter] input')
|
||||||
|
.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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user