In TinyMCE after Inline Popups, the IMCE still open like new window.
This patch fix this problem.
ps: sorry if patch in inappropriate form
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | imce_wysiwyg.js_.patch | 1.53 KB | emposha |
| #1 | imce_wysiwyg.js_.patch | 1.53 KB | emposha |
| imce_wysiwyg.js_.patch | 1.06 KB | emposha |
Comments
Comment #1
emposha commentedUpdated patch that fix TinyMCE dialog windows on enabled "Inline Popup".
Added custom SendTo function.
Comment #2
sunHm... thanks for this patch - however, the coding style needs work. It doesn't look like the indentation is always correct.
1) Trailing white-space.
2) Missing newline at end of file.
Powered by Dreditor.
Comment #3
emposha commentedThanks for correction,
1) indentation fixed
2) trailing white-spaces removed
3) Newline at end of file added
Comment #4
sunI do not understand the changes in this line.
We can remove the parenthesis around the variables that are checked for their types.
The trailing
|params@looks odd; could use an inline comment explaining why that is needed.This only seems to be used for in inline popups mode, which should be clarified in the JSDoc.
I looks odd to me that we have to do that manually. Normally, TinyMCE and/or the individual plugin provides helper methods for taking over those values (which is why the code only required to open a new window, passing some parameters, previously).
Let's investigate this some further.
Different line-endings?
Powered by Dreditor.