diff options
author | ivan <ivan> | 2011-06-10 03:33:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-06-10 03:33:44 +0000 |
commit | c7bf005860b761a55ca075df987fb3b5ade8c242 (patch) | |
tree | 59fdf9039e264c654380528ffdf511b9b69d30a2 /httemplate/elements/input-text.html | |
parent | 6b4fe3354a905755f9e6f1810cf94bbc269ce81d (diff) |
add package def option to show $0 recurring on invoices, RT#9777
Diffstat (limited to 'httemplate/elements/input-text.html')
-rw-r--r-- | httemplate/elements/input-text.html | 4 |
1 files changed, 3 insertions, 1 deletions
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'} |