Skip to content

Commit

Permalink
Merge pull request #3572 from nonumber/patch-1
Browse files Browse the repository at this point in the history
Fixed missing space in toolbar buttons (type modal)
  • Loading branch information
dongilbert committed May 7, 2014
2 parents 9f6357f + 2e592ff commit f087a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/includes/toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public static function modal($targetModalId, $icon, $alt)
JHtml::_('behavior.modal');
$title = JText::_($alt);
$dhtml = "<button data-toggle='modal' data-target='#" . $targetModalId . "' class='btn btn-small'>
<i class='" . $icon . "' title='" . $title . "'></i>" . $title . "</button>";
<i class='" . $icon . "' title='" . $title . "'></i> " . $title . "</button>";

$bar = JToolbar::getInstance('toolbar');
$bar->appendButton('Custom', $dhtml, $alt);
Expand Down

0 comments on commit f087a42

Please sign in to comment.