mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
- LSattribute : Correction d'un bug dans la méthode resfreshForm()
This commit is contained in:
parent
860f62e09c
commit
44673c7dc1
1 changed files with 7 additions and 2 deletions
|
@ -323,8 +323,13 @@ class LSattribute {
|
||||||
function refreshForm(&$form,$idForm) {
|
function refreshForm(&$form,$idForm) {
|
||||||
if(isset($this -> config['form'][$idForm])) {
|
if(isset($this -> config['form'][$idForm])) {
|
||||||
$form_element = $form -> getElement($this -> name);
|
$form_element = $form -> getElement($this -> name);
|
||||||
$values = $this -> html -> refreshForm($this -> getFormVal());
|
if ($form_element) {
|
||||||
return $form_element -> setValue($values);
|
$values = $this -> html -> refreshForm($this -> getFormVal());
|
||||||
|
return $form_element -> setValue($values);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
LSdebug('LSformElement "'.$this -> name.'" n\'existe pas');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue