Просмотр исходного кода

Disable form submission button while loading

copyvios-ng
Ben Kurtovic 7 лет назад
Родитель
Сommit
ce18eb9065
1 измененных файлов: 3 добавлений и 0 удалений
  1. +3
    -0
      static/script.js

+ 3
- 0
static/script.js Просмотреть файл

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


Загрузка…
Отмена
Сохранить