Push out head tags for the custom color selector.
This commit is contained in:
parent
6028535303
commit
cc5f0a30ad
2 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ sub toHtml {
|
|||
my $id = $self->get("id");
|
||||
my $value = $self->getOriginalValue;
|
||||
my $name = $self->get("name");
|
||||
$self->headTags;
|
||||
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