1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Fixes #3386 TinyMce wasn't inserting image correctly when pref "resize dimension" width was empty. Fixed TinyMce cancel button.

This commit is contained in:
Cameron
2018-08-26 12:25:08 -07:00
parent db976c931b
commit 9fc35e190c
3 changed files with 12 additions and 10 deletions

View File

@@ -170,9 +170,9 @@ if((e107::wysiwyg(null, true) === 'tinymce4' && check_class($pref['post_html']))
});
$('.e-dialog-close').click(function(){
$('.e-dialog-cancel').click(function(){
// top.tinymce.activeEditor.windowManager.close();
top.tinymce.activeEditor.windowManager.close();
});