Closed (fixed)
Project:
IMCE
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2007 at 23:28 UTC
Updated:
20 Feb 2007 at 08:01 UTC
Jump to comment: Most recent file
Content cannot be posted in IE 7 with the IMCE module turned on. Editing any content (e.g. a blog entry) and clicking on "submit" or "preview" will return an error that the body value was empty. Firefox 2.0 works as expected.
Installation tested:
Drupal 5.0
TinyMCE module 5.x-1.x-dev (2007-Jan-24)
TineMCE 2.08
IMCE module 5.x-1.x-dev (2007-Jan-14)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | imce_set_tinymce.js_.patch | 836 bytes | ufku |
Comments
Comment #1
ufku commentedthis is not directly related to IMCE. As far as i tested tinymce assigns one of its internal variable to the container of the textarea instead of the textarea itself. Thus, before form submission, updating the value of the textarea fails.
Actually there is a conflict with textarea.js, as both scripts change the DOM around the textarea. However, this is not always true, since the timing is important. If the two scripts run simultaneously and if tinymce reads some DOM after the textarea.js manipulation, the conflict occurs. Other scripts in the page may affect the timing.
To clarify that this issue is not directly related to IMCE's script, rename or delete the script and test again. To reproduce the bugi It is sufficient to include a non-existing script or just an empty script.
And also i realized that even when IMCE is disabled, we have the same issue with tinyMCEs COMPACT mode.
By the way, is your CPU dual-core?
Comment #2
niklp commentedIf it's not directly related to IMCE, what module IS it related to...? You haven't mentioned.
Comment #3
ufku commentedit' not related to any module. it's a tinyMCE issue, not the module, the editor. their way of updating the original textarea content before form submission, becomes wrong under certain conditions, as i mentioned, when drupal's textarea.js modifies textareas to make them resizable. If you rename textarea.js(to make it not load), you'll see that, with or without IMCE, tinyMCE works as expected.
The bug report is at http://sourceforge.net/tracker/index.php?func=detail&aid=1649351&group_i...
A workaround may be to fix the incorrect textarea assignments after tinyMCE is fully loaded. This can be done inside imce_set_tinymce.js.
Comment #4
ufku commentedthe patch includes a small hack that fixes incorrect formElement issue. This can stay inside imce_set_tinymce.js until it is fixed in tinymce project.
Comment #5
ufku commentedcommited.
there is no response for the bug from tinymce community. this fix may stay for the ones who are having this weird issue.
Comment #6
(not verified) commented