Browse Source

Disable form submission button while loading

copyvios-ng
Ben Kurtovic 5 years ago
parent
commit
ce18eb9065
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      static/script.js

+ 3
- 0
static/script.js View File

@@ -126,6 +126,9 @@ $(document).ready(function() {
.prop("disabled", true); .prop("disabled", true);
}); });
} }
$("#cv-form button[type='submit']")
.prop("disabled", true)
.css("cursor", "progress");
}); });


if ($("#cv-additional").length >= 0) { if ($("#cv-additional").length >= 0) {


Loading…
Cancel
Save