mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
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();
|
$this->onFailure();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($this->isValidPartial($post)) {
|
$this->setDefaults($post);
|
||||||
// Nothing to do, just want to see the errors
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Well...
|
// Well...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user