Selaa lähdekoodia

Disable form submission button while loading

copyvios-ng
Ben Kurtovic 7 vuotta sitten
vanhempi
commit
ce18eb9065
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. +3
    -0
      static/script.js

+ 3
- 0
static/script.js Näytä tiedosto

@@ -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) {


Ladataan…
Peruuta
Tallenna