summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-04-23 17:08:58 -0700
committerIvan Kohler <ivan@freeside.biz>2018-04-23 17:08:58 -0700
commite884af8c6997d97753598ccec16a3156e0dcbf3f (patch)
tree8f43d398173c0603078c58e82d823a08dc16c258 /httemplate/search/elements
parenta1e1a1510968526f0c94e4eb684c66c7e3b93a8c (diff)
bulk customer package edit from multiple source package definitions, RT#79885
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r--httemplate/search/elements/checkbox-foot.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/elements/checkbox-foot.html b/httemplate/search/elements/checkbox-foot.html
index ae8b79470..f33a87467 100644
--- a/httemplate/search/elements/checkbox-foot.html
+++ b/httemplate/search/elements/checkbox-foot.html
@@ -4,7 +4,7 @@
html_foot => include('elements/checkbox-foot.html',
actions => [
{ label => 'Edit selected packages',
- action => 'popup_package_edit()',
+ onclick => 'popup_package_edit()',
},
{ submit => 'Delete selected packages',
confirm => 'Really delete these packages?'
@@ -50,7 +50,7 @@ false.
<BR>
% foreach my $action (@$actions) {
% if ( $action->{onclick} ) {
-<INPUT TYPE="button" <% $action->{name} %> onclick="<% $opt{onclick} %>"\
+<INPUT TYPE="button" <% $action->{name} %> onclick="<% $action->{onclick} %>"\
VALUE="<% $action->{label} |h%>">
% } elsif ( $action->{submit} ) {
<INPUT TYPE="submit" <% $action->{name} %> <% $action->{confirm} %>\