1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

Issue #1035, Issue #1155 : Rolled back TinyMce to v4.1. Clear browser cache thoroughly to test.

This commit is contained in:
Cameron 2015-07-27 12:12:11 -07:00
parent 03fb11dfc0
commit f44c6b21c7
2 changed files with 11 additions and 1 deletions

View File

@ -454,6 +454,11 @@ class news_admin_ui extends e_admin_ui
$tmp = explode(chr(35), $new_data['news_author']);
$new_data['news_author'] = intval($tmp[0]);
if(E107_DBG_SQLQUERIES)
{
e107::getMessage()->addInfo("<h3>Raw _POST data</h3>".print_a($_POST,true));
}
return $new_data;
}
@ -481,6 +486,11 @@ class news_admin_ui extends e_admin_ui
$new_data['news_author'] = intval($tmp[0]);
}
if(E107_DBG_SQLQUERIES)
{
e107::getMessage()->addInfo("<h3>Raw _POST data</h3>".print_a($_POST,true));
}
return $new_data;
}

View File

@ -19,7 +19,7 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL
//e107::js('tinymce','tiny_mce.js','jquery');
//e107::js('tinymce','wysiwyg.php','jquery',5);
e107::js('footer', "http://tinymce.cachefly.net/4.2/tinymce.min.js");
e107::js('footer', "http://tinymce.cachefly.net/4.1/tinymce.min.js");
e107::js('footer',e_PLUGIN.'tinymce4/wysiwyg.php','jquery',5);
// e107::js('inline', "
// tinymce.init({selector:'.e-wysiwyg'});