X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Finput-text.html;h=827941501d22f97f0598cf6a3d47676490b4d794;hb=b431ece7b4a71aa5771f44393da582692f668817;hp=fb50a5070a6eae0611974f459db8db206d572175;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/elements/input-text.html b/httemplate/elements/input-text.html index fb50a5070..827941501 100644 --- a/httemplate/elements/input-text.html +++ b/httemplate/elements/input-text.html @@ -15,7 +15,9 @@ my %opt = @_; my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value}; my $onchange = $opt{'onchange'} - ? 'onChange="'. $opt{'onchange'}. '(this)"' + ? join(' ', map $_.'="'. $opt{'onchange'}. '(this)"', + qw( onChange onKeyDown onKeyUp onKeyPress ) + ) : ''; my $size = $opt{'size'}