Index: t3lib/class.t3lib_tceforms.php
===================================================================
--- t3lib/class.t3lib_tceforms.php (revision 5403)
+++ t3lib/class.t3lib_tceforms.php (working copy)
@@ -1593,7 +1593,7 @@
// If there is an icon for the selector box (rendered in table under)...:
if ($p[2] && !$suppressIcons && (!$onlySelectedIconShown || $sM)) {
list($selIconFile,$selIconInfo)=$this->getIcon($p[2]);
- $iOnClick = $this->elName($PA['itemFormElName']) . '.selectedIndex=' . $c . '; ' .
+ $iOnClick = $this->elName($PA['itemFormElName']) . '.selectedIndex=' . $c . '; ' .
$this->elName($PA['itemFormElName']) . '.style.backgroundImage=' . $this->elName($PA['itemFormElName']) . '.options[' . $c .'].style.backgroundImage; ' .
implode('',$PA['fieldChangeFunc']).$this->blur().'return false;';
$selicons[]=array(
@@ -1623,8 +1623,7 @@
$item.= ''; // MUST be inserted before the selector - else is the value of the hiddenfield here mysteriously submitted...
}
$item .= '