mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Unsetting any validation for LeftAndMain->EmptyForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92713 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
eef51ed50b
commit
7f285e2bd9
@ -853,7 +853,7 @@ JS;
|
||||
* @return Form
|
||||
*/
|
||||
function EmptyForm() {
|
||||
return new Form(
|
||||
$form = new Form(
|
||||
$this,
|
||||
"EditForm",
|
||||
new FieldSet(
|
||||
@ -872,6 +872,9 @@ JS;
|
||||
),
|
||||
new FieldSet()
|
||||
);
|
||||
$form->unsetValidator();
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
public function myprofile() {
|
||||
|
Loading…
Reference in New Issue
Block a user