mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing https://github.com/wso2/product-iots/issues/1096: Hiding table when no alerts avaialble
This commit is contained in:
parent
7bc3ab7bec
commit
f8fa314359
@ -34,6 +34,7 @@ function initializeExit() {
|
||||
}
|
||||
} else{
|
||||
$(".fence-not-exist").show();
|
||||
$("#exit-alert").hide();
|
||||
}
|
||||
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
||||
viewFence(this.parentElement,'Exit');
|
||||
|
||||
@ -38,6 +38,7 @@ function initStationaryAlert() {
|
||||
}
|
||||
} else{
|
||||
$(".fence-not-exist").show();
|
||||
$("#stationary-alert-table").hide();
|
||||
}
|
||||
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
||||
viewFence(this.parentElement,'Stationery');
|
||||
|
||||
@ -34,6 +34,7 @@ function initializeWithin() {
|
||||
}
|
||||
} else{
|
||||
$(".fence-not-exist").show();
|
||||
$("#within-alert").hide();
|
||||
}
|
||||
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
||||
viewFence(this.parentElement,'WithIn');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user