mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
parents-merge 36165 - Added javascript option Form.bypassValidation, which can be set to true in a button's onclick handler
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45055 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
98fdd637ad
commit
3acdeb2441
@ -82,7 +82,7 @@ Behaviour.register({
|
||||
return !error;
|
||||
},
|
||||
onsubmit : function() {
|
||||
return this.validate();
|
||||
if(typeof this.bypassValidation == 'undefined' || !this.bypassValidation) return this.validate();
|
||||
}
|
||||
},
|
||||
'#$formID input' : {
|
||||
|
Loading…
Reference in New Issue
Block a user