Bug #15290
closedwizard_colorpicker.php doesn't work properly in FlexForms
0%
Description
When using wizard_colorpicker.php in FlexForms, the picked colors are only displayed properly before saving the form. Afterwards, the color always changes to something purple (in IE) or background color (grey, in Firefox). Additionally, IE shows some flickering mousovers when pointing over the colorbox. Firefox shows all of the FlexForm XML in the mouseover.
Snippet from the FlexForm XML:
<fg_color_field_names>
<TCEforms>
<label>LLL:EXT:partner/locallang.php:tx_partner.label.xls.fg_color_field_names</label>
<config>
<type>input</type>
<size>10</size>
<wizards>
<colorpick>
<type>colorbox</type>
<title>LLL:EXT:partner/locallang.php:tx_partner.label.color_picker</title>
<script>wizard_colorpicker.php</script>
<dim>20x20</dim>
<tableStyle>border: solid 1px black; margin-left: 20px;</tableStyle>
<JSopenParams>height=550,width=365,status=0,menubar=0,scrollbars=1</JSopenParams>
<exampleImg>gfx/wizard_colorpickerex.jpg</exampleImg>
</colorpick>
</wizards>
</config>
</TCEforms>
</fg_color_field_names>
(issue imported from #M2052)
Files