FIX_ISSUE
This commit is contained in:
parent
ac3ae3e87a
commit
726c9b7c16
@ -448,7 +448,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||||||
|
|
||||||
// Handle edit button
|
// Handle edit button
|
||||||
if (this.classList.contains('btnEdit') && id) {
|
if (this.classList.contains('btnEdit') && id) {
|
||||||
getPolicyTransactionDataForEdit(id);
|
alertEveryFiveSeconds(id);
|
||||||
}
|
}
|
||||||
// Handle delete button
|
// Handle delete button
|
||||||
else if (this.classList.contains('delete') && id) {
|
else if (this.classList.contains('delete') && id) {
|
||||||
@ -1602,6 +1602,8 @@ function onlyNumbers(event)
|
|||||||
|
|
||||||
function alertEveryFiveSeconds(id) {
|
function alertEveryFiveSeconds(id) {
|
||||||
|
|
||||||
|
console.log('intervel Started');
|
||||||
|
|
||||||
$('.loader').fadeIn();
|
$('.loader').fadeIn();
|
||||||
$('.loader-mask').fadeIn();
|
$('.loader-mask').fadeIn();
|
||||||
|
|
||||||
@ -1618,7 +1620,7 @@ function alertEveryFiveSeconds(id) {
|
|||||||
console.log('intervel not cleared getClientAndBranchAndPolicy is still pending');
|
console.log('intervel not cleared getClientAndBranchAndPolicy is still pending');
|
||||||
}
|
}
|
||||||
|
|
||||||
}, 5000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user