mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-06 23:52:18 +01:00
Fix client side validation error
This commit is contained in:
@@ -14,7 +14,7 @@ function validate(e){
|
||||
var form = $(e.target);
|
||||
$(form).find('[type=submit]').attr('disabled', 'disabled');
|
||||
|
||||
if(form.data('validated') !== true){
|
||||
if(form.data('validated') === true){
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user