Commit 7a42f234 authored by Deep Dey's avatar Deep Dey

fix: fix ui break on error on appoinment form

parent 070cf687
......@@ -189,6 +189,8 @@ $(document).ready(function () {
window.location.reload();
},
error: function (error) {
$('.submit-btn').show();
$('.loading-btn').hide();
if (error.responseJSON && error.responseJSON.message) {
$('#messageModal .modal-body').text(
error.responseJSON.message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment