Added hidden input to showRecoverForm() so form can be submitted without error in IE by pressing <return>
This commit is contained in:
parent
185d08282b
commit
0adaaa1b9d
3
actions/recoverpassword.php
Normal file → Executable file
3
actions/recoverpassword.php
Normal file → Executable file
|
@ -194,6 +194,9 @@ class RecoverpasswordAction extends Action
|
||||||
'or your registered email address.'));
|
'or your registered email address.'));
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
$this->elementEnd('ul');
|
$this->elementEnd('ul');
|
||||||
|
$this->element('input', array('name' => 'recover',
|
||||||
|
'type' => 'hidden',
|
||||||
|
'value' => _('Recover')));
|
||||||
$this->submit('recover', _('Recover'));
|
$this->submit('recover', _('Recover'));
|
||||||
$this->elementEnd('fieldset');
|
$this->elementEnd('fieldset');
|
||||||
$this->elementEnd('form');
|
$this->elementEnd('form');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user