Fixed bug in the colorpicker which caused the colorpicker screen to not pop up.
This commit is contained in:
parent
ba4eac9afc
commit
0a67594718
2 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.5.15
|
||||
- fixed: Colorpicker window would not open (Martin Kamerbeek / Oqapi)
|
||||
|
||||
7.5.14
|
||||
- fixed: RSS feeds report modified date instead of create date
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ sub toHtml {
|
|||
my $id = $self->get("id");
|
||||
my $value = $self->getDefaultValue;
|
||||
my $name = $self->get("name");
|
||||
return qq{<a href="javascript:YAHOO.WebGUI.ColorPicker.display('$id', '${id}_swatch');" id="${id}_swatch" class="colorPickerFormSwatch" style="background-color: $value"></a>
|
||||
return qq{<a href="javascript:YAHOO.WebGUI.Form.ColorPicker.display('$id', '${id}_swatch');" id="${id}_swatch" class="colorPickerFormSwatch" style="background-color: $value"></a>
|
||||
<input onchange="YAHOO.util.Dom.setStyle('${id}_swatch', 'background-color', this.value)"
|
||||
maxlength="7" name="$name" type="text" size="8" value="$value" id="$id" />};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue