QuickForm: do not validate unsubmitted but sent
There is no clean way to clear errors detected by isValidPartial afterwards, so we shouldn't call it
This commit is contained in:
parent
d522cb8d2b
commit
570a0ac00a
|
@ -213,9 +213,7 @@ abstract class QuickForm extends Zend_Form
|
|||
$this->onFailure();
|
||||
}
|
||||
} else {
|
||||
if ($this->isValidPartial($post)) {
|
||||
// Nothing to do, just want to see the errors
|
||||
}
|
||||
$this->setDefaults($post);
|
||||
}
|
||||
} else {
|
||||
// Well...
|
||||
|
|
Loading…
Reference in New Issue