CHANGE_UI_FIX - VADIVEL J 2025-10-10

This commit is contained in:
vadivelJ96 2025-10-10 09:47:37 +05:30
parent 0e770a2f47
commit 58ae918159

View File

@ -323,6 +323,9 @@ $(document).ready(function() {
$('#auto_fetch_branch').html(`<option value="">Select Branch</option>`); $('#auto_fetch_branch').html(`<option value="">Select Branch</option>`);
$('.loader').fadeIn();
$('.loader-mask').fadeIn();
$.ajax({ $.ajax({
url: "<?php echo base_url('client/branch/auto_fetch_branch'); ?>", url: "<?php echo base_url('client/branch/auto_fetch_branch'); ?>",
type: "POST", type: "POST",
@ -347,6 +350,8 @@ $(document).ready(function() {
console.error("Error occurred:", status, error); console.error("Error occurred:", status, error);
}, },
complete: function() { complete: function() {
$('.loader').fadeOut();
$('.loader-mask').delay(350).fadeOut('slow');
console.log("auto_fetch_client call is completed..!!"); console.log("auto_fetch_client call is completed..!!");
} }
}); });