Browse files

Prints itemset_options script block if any action is exists. bugzid:1…

…06043
  • Loading branch information...
1 parent 2f0ce35 commit 9f80d19a5de3d5334aef60fc1dca93c74dc07df5 @kaminogoya kaminogoya committed Apr 12, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/MT/Template/ContextHandlers.pm
View
4 lib/MT/Template/ContextHandlers.pm
@@ -3807,16 +3807,14 @@ sub _hdlr_app_action_bar {
? ''
: qq{\n <mt:include name="include/pagination.tmpl" bar_position="$pos">};
my $buttons = $ctx->var('action_buttons') || '';
- my $buttons_html = $buttons =~ /\S/ ? qq{<span class="button-actions actions">$buttons</span>} : '';
+ my $buttons_html = $buttons =~ /\S/ ? qq{<div class="button-actions actions">$buttons</div>} : '';
return $ctx->build(<<EOT);
$form_id
<div id="actions-bar-$pos" class="actions-bar actions-bar-$pos">
$pager
$buttons_html
- <span class="plugin-actions actions">
<mt:include name="include/itemset_action_widget.tmpl">
- </span>
</div>
EOT
}

0 comments on commit 9f80d19

Please sign in to comment.