X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fcheckbox-foot.html;h=f33a87467b4800de24f20867ae4d67e68c48442f;hb=b2326b23cf72af64884e5e33c7b2ae586adce0bf;hp=ae8b794703a9e237b2b14b9d4e5eca8885e3f55d;hpb=ca24c5a345c866a069ac4fe58f1567dc38b79478;p=freeside.git
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.
% foreach my $action (@$actions) {
% if ( $action->{onclick} ) {
-{name} %> onclick="<% $opt{onclick} %>"\
+{name} %> onclick="<% $action->{onclick} %>"\
VALUE="<% $action->{label} |h%>">
% } elsif ( $action->{submit} ) {
{name} %> <% $action->{confirm} %>\