fixing device status

(cherry picked from commit fe71036)
merge-requests/1/head
kamidu 8 years ago committed by Ace
parent 5263c685e8
commit 72f42645ef

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

Loading…
Cancel
Save