Wizard: Disable the browser's form validation when navigating back
formnovalidate... The fukin awesomeness of HTML5 is sometimes even impressing a god-damned h4x0r like me. fixes #8507
This commit is contained in:
parent
d4dc0177c0
commit
d68c636359
|
@ -615,7 +615,8 @@ class Wizard
|
|||
'type' => 'submit',
|
||||
'value' => $pages[$index - 1]->getName(),
|
||||
'label' => t('Back'),
|
||||
'decorators' => array('ViewHelper')
|
||||
'decorators' => array('ViewHelper'),
|
||||
'formnovalidate' => 'formnovalidate'
|
||||
)
|
||||
);
|
||||
$page->addElement(
|
||||
|
@ -636,7 +637,8 @@ class Wizard
|
|||
'type' => 'submit',
|
||||
'value' => $pages[$index - 1]->getName(),
|
||||
'label' => t('Back'),
|
||||
'decorators' => array('ViewHelper')
|
||||
'decorators' => array('ViewHelper'),
|
||||
'formnovalidate' => 'formnovalidate'
|
||||
)
|
||||
);
|
||||
$page->addElement(
|
||||
|
|
Loading…
Reference in New Issue