Skip to content

Commit

Permalink
Compatibility with sites upgrading from 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Jan 12, 2015
1 parent d0fb1e0 commit 449f84b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/editors/tinymce/tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ public function onInit()

// The param is true for vertical resizing only, false or both
$resizing = $this->params->get('resizing', '1');
$resize_horizontal = $this->params->get('resize_horizontal', '1');

if ($resizing || $resizing == 'true')
{
if ($this->params->get('resize_horizontal', '1'))
if ($resize_horizontal || $resize_horizontal == 'true')
{
$resizing = 'resize: "both",';
}
Expand Down

0 comments on commit 449f84b

Please sign in to comment.