diff --git a/e107_admin/image.php b/e107_admin/image.php index 2fff8fc3a..0cdabf58d 100644 --- a/e107_admin/image.php +++ b/e107_admin/image.php @@ -946,7 +946,7 @@ class media_admin_ui extends e_admin_ui if($this->getQuery('iframe')) { - e107::js('tinymce','tiny_mce_popup.js'); + e107::js('tinymce4','plugins/compat3x/tiny_mce_popup.js'); $this->getResponse()->setIframeMod(); // disable header/footer menus etc. if(!$this->getQuery('for')) @@ -1262,8 +1262,8 @@ class media_admin_ui extends e_admin_ui } $type = (E107_DEBUG_LEVEL > 0) ? "text" : "hidden"; - $br = (E107_DEBUG_LEVEL > 0) ? "
" : ""; - + $br = (E107_DEBUG_LEVEL > 0) ? "
" : ""; + $text .= " ".$br." ".$br." diff --git a/e107_handlers/media_class.php b/e107_handlers/media_class.php index 592d8f086..133c567b4 100644 --- a/e107_handlers/media_class.php +++ b/e107_handlers/media_class.php @@ -1102,13 +1102,15 @@ class e_media $close = (E107_DEBUG_LEVEL > 0) ? "" : " data-close='true' "; // - - // - $text .= "\n\n\n