diff --git a/web/app/models/UOJForm.php b/web/app/models/UOJForm.php index 77ec13a..98043d1 100644 --- a/web/app/models/UOJForm.php +++ b/web/app/models/UOJForm.php @@ -685,7 +685,11 @@ class UOJForm { } else { echo <<form_name}").addClass('disabled'); + $("#button-submit-{$this->form_name}") + .addClass('disabled') + .css('width', $("#button-submit-{$this->form_name}").outerWidth()) + .html(''); + $(this).submit(function () { return false; });