diff --git a/app/Views/client_onboarding.php b/app/Views/client_onboarding.php index 70b8e3b5..b27a9673 100755 --- a/app/Views/client_onboarding.php +++ b/app/Views/client_onboarding.php @@ -1052,6 +1052,9 @@ $('#auto_fetch_branch').html(``); + $('.loader').fadeIn(); + $('.loader-mask').fadeIn(); + $.ajax({ url: "", type: "POST", @@ -1076,6 +1079,8 @@ console.error("Error occurred:", status, error); }, complete: function() { + $('.loader').fadeOut(); + $('.loader-mask').delay(350).fadeOut('slow'); console.log("auto_fetch_client call is completed..!!"); } });