Skip to content

Commit

Permalink
for #493: add submit disable logic to make_submit
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Feb 4, 2018
1 parent e2eb339 commit dab5d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/js/codesy-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ $(window).on("load",function () {
return function (e) {
e.preventDefault();
form = $(this)
form.find('input[type="submit"]').prop('disabled', true);
$.ajax( {
url: form.attr('action'),
method: form.data("method"),
Expand Down

0 comments on commit dab5d6b

Please sign in to comment.