Push out head tags for the custom color selector.

This commit is contained in:
Colin Kuskie 2015-03-10 14:05:18 -07:00
parent 0dd15949c3
commit 965196f49a
2 changed files with 2 additions and 0 deletions

View file

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

View file

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