Fixed bug in the colorpicker which caused the colorpicker screen to not pop up.

This commit is contained in:
Martin Kamerbeek 2008-06-27 14:49:39 +00:00
parent ba4eac9afc
commit 0a67594718
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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" />};
}