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
|
|
@ -1,4 +1,5 @@
|
|||
7.10.30
|
||||
- fixed: Do not generate the Not Found page when JS or CSS is requested. In admin mode, this is bypassed so that admins can see which pages are really missing and can easily add them.
|
||||
|
||||
7.10.29
|
||||
- fixed #12454: Email to Group ignores the From field
|
||||
|
|
|
|||
|
|
@ -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