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