We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d275702 commit a08a838Copy full SHA for a08a838
1 file changed
src/Views/shared/common.blade.php
@@ -37,6 +37,7 @@ function ajax_form_submit(_this)
37
{
38
// Disable submit button until AJAX response has come
39
_this.prop('disabled', true);
40
+ setTimeout(function(){ _this.prop("disabled", false);}, 3000);
41
42
var form = _this.closest('form');
43
var formData = new FormData(form[0]);
@@ -85,9 +86,6 @@ function ajax_form_submit(_this)
85
86
return false;
87
}
88
-
89
- // Enable submit button
90
- _this.prop('disabled', false);
91
92
});
93
0 commit comments