Skip to content

Commit

Permalink
fixed preview button
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-codes committed Mar 12, 2019
1 parent 96b325c commit e261db4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -195,7 +195,7 @@ function (Toolbar $childBar) use ($checkedOut, $itemEditable, $canDo)
if (!$isNew)
{
$url = PreviewHelper::url($this->item);
$toolbar->preview($url, Text::_('JGLOBAL_PREVIEW'))
$toolbar->preview($url, 'JGLOBAL_PREVIEW')
->bodyHeight(80)
->modalWidth(90);

Expand Down

0 comments on commit e261db4

Please sign in to comment.