Fixing https://github.com/wso2/product-iots/issues/1096: Hiding table when no alerts avaialble

revert-70aa11f8
Rasika Perera 7 years ago
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…
Cancel
Save