Skip to content

Commit

Permalink
Merge pull request #67 from joomla/C-Lodder-patch-1
Browse files Browse the repository at this point in the history
[Fix] SyntaxError: expected expression, got '<'
  • Loading branch information
C-Lodder authored Oct 21, 2016
2 parents 8106fe2 + 46234fb commit 0289a55
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/editors/tinymce/tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,7 @@ public function onDisplay($name, $content, $width, $height, $col, $row, $buttons

if (!empty($btnsNames))
{
$modalFix = JHtml::_('script', 'system/tiny-close.min.js', false, true);
JFactory::getDocument()->addScript($modalFix, "text/javascript", true, false);
JHtml::_('script', 'system/tiny-close.min.js', false, true);
}

// Drag and drop Images
Expand Down Expand Up @@ -1056,8 +1055,8 @@ private function tinyButtons($name, $excluded)
}

return array(
'names' => $btnsNames,
'script' => $tinyBtns
'names' => $btnsNames,
'script' => $tinyBtns
);
}

Expand Down

0 comments on commit 0289a55

Please sign in to comment.