diff --git a/html/image/ajax-loader.gif b/html/image/ajax-loader.gif new file mode 100644 index 000000000..148005da2 Binary files /dev/null and b/html/image/ajax-loader.gif differ diff --git a/html/js/controls.js b/html/js/controls.js index fd8dc0be3..ba3fa1b88 100644 --- a/html/js/controls.js +++ b/html/js/controls.js @@ -67,7 +67,7 @@ Autocompleter.Base = Class.create({ update.style.position = 'absolute'; Position.clone(element, update, { setHeight: false, - setWidth:true, + setWidth:false, offsetTop: element.offsetHeight }); } diff --git a/include/lib/icard.class.php b/include/lib/icard.class.php index 419cac342..6567b7b3e 100644 --- a/include/lib/icard.class.php +++ b/include/lib/icard.class.php @@ -220,7 +220,6 @@ class ICard extends HtmlInput { if ($p_name==null&&$this->name=="") throw (new Exception(_('Le nom d une icard doit ĂȘtre donne'))); - $this->value=($p_value==null)?$this->value:$p_value; if ($this->readOnly==true) return $this->display(); @@ -244,9 +243,9 @@ class ICard extends HtmlInput if ($this->autocomplete==1) { $this->indicator="ind_".$this->id; - $ind=sprintf('', + $ind=sprintf('', $this->indicator); - $this->indicator="null"; + // $this->indicator="null"; $div=($this->choice_create==1)?sprintf('
', $this->choice):"";