mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENHANCEMENT Disabling form validation for right-panel forms in CMS in HtmlEditorField. None of the fields have validation attached to them at the moment, so the generic validation output is unnecessary bloat.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92528 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
757df3088e
commit
beb4efef09
@ -241,6 +241,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
|
||||
$contentComposite->addExtraClass('content');
|
||||
|
||||
$form->unsetValidator();
|
||||
$form->loadDataFrom($this);
|
||||
|
||||
return $form;
|
||||
@ -315,6 +316,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
|
||||
$contentComposite->addExtraClass('content');
|
||||
|
||||
$form->unsetValidator();
|
||||
$form->disableSecurityToken();
|
||||
$form->loadDataFrom($this);
|
||||
|
||||
@ -352,6 +354,8 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
|
||||
$contentComposite->addExtraClass('content');
|
||||
|
||||
$form->unsetValidator();
|
||||
|
||||
$form->loadDataFrom($this);
|
||||
$form->disableSecurityToken();
|
||||
return $form;
|
||||
|
Loading…
x
Reference in New Issue
Block a user