mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 08:58:42 +00:00
fix: disable submit button if can submit
This commit is contained in:
parent
dfc57f13d3
commit
94f31d0620
@ -665,7 +665,7 @@ class UOJForm {
|
||||
EOD;
|
||||
} else {
|
||||
echo <<<EOD
|
||||
$("#button-submit-{$this->form_name}").addClass('disabled');
|
||||
if (ok) $("#button-submit-{$this->form_name}").addClass('disabled');
|
||||
return ok;
|
||||
EOD;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user