Odd Behavior in IE 7
sreese - January 25, 2008 - 00:24
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 5.x-1.2 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Overall the editor seems to be working fine except for one odd little issue. If you have multiple instances on the same page (like in a form), IE 7 throws the following error for every instance on the page:
Line: 85
Char: 2
Error: Object required
Code: 0
URL: SITENAME/sites/all/modules/fckeditor/fckeditor/editor/fckeditor.html?InstanceName=TEXTAREANAME&Toolbar=DrupalFiltered
Apart from this, the editor itself works fine in every instance but when the page initially loads, the browser is automatically scrolled down to just above the first instance of the editor on the page. Disabling the editor fixes the problem. This does not happen in Firefox.

#1
Upon further investigation/testing, I've found the error is thrown on every page where FCKeditor is invoked. Furthermore even if there is only one instance on the page, but that instance happens to require scrolling to get to, IE will "jump" down to where FCKeditor is.
#2
Hi,
Could you try the latest version of FCKeditor module along with the 2.5.1 version of FCKeditor and let me know whether this bug still exist?
#3
Any resolution for this? I have the same issue.
#4
Try upgrading to 5.x-2.x-dev, remember to clear your browsers cache after upgrading.
#5
Is this still an issue?
#6
I have the same problem in Internet Explorer.
A panel has not yet shown the text box and when you turn off the images.
fckeditor 2.6.1
module last dev
#7
js tip out this error, even two:
Line: 85
Symbol: 2
Error: Object required
Code: 0
URL: SITENAME / sites / all / modules / fckeditor / fckeditor / editor / fckeditor.html? InstanceName = edit-comment & Toolbar = DrupalFull
and the same but different
URL: SITENAME / sites / all / modules / fckeditor / fckeditor / editor / fckeditor.html? InstanceName = edit-message & Toolbar = DrupalFull
#8
I tried: 5.x-2.x-dev (2008-Jun-20) + FCKeditor 2.6.1 + Drupal 5.7 + IE 7.0.5730.13 (XP SP3) and I can't reproduce this.
Please provide a list of steps required to reproduce this issue (including steps to create a webform for example) or a link to a place where this issue can be observed.
Also, please remember to clear your browser's cache before testing anything after upgrading.
#9
I have the same: 5.x-2.x-dev (2008-Jun-20) + FCKeditor 2.6.1 + Drupal 5.7
Any page site with a form, such as this: http://www.elgrad.info/blog/icq-system-12111
performed with errors.
I erase the cache.
#10
@elgrad.info
Comment out (or delete) the following code from fckeditor.config.js, clear browser's cache and try again
if ( FCK.GetData ) {FCKConfig.ToolbarSets["DrupalFull"][10].push('ShowBlocks') ;
FCKConfig.ToolbarSets["DrupalFiltered"][9].push('ShowBlocks') ;
}
let me know if that helped.
It seems that this method of adding buttons is not error prone when toolbar is modified, so it should be definitely improved.
#11
First, apologize that you were deceived. Updates module at night, confused with the dates. Download now dev-date version, uploaded. Error seem to be gone, everything works. Thank you.
But another problem remained. When disables showing images in the browser, the editor does not load or text box, neither panel editor. Blanc in his place. What could be the problem?
#12
#11 is a problem with FCKeditor itself, FCKeditor module has nothing to do with it, I reported this issue here: http://dev.fckeditor.net/ticket/2180.
#13
Ок. Thank you.
Strangely, they released recently updated, but the problem persists.
#14
Fixed in CVS, should be available tomorrow as dev release. When DrupalFull or DrupalFiltered toolbar set is modified, there should be no problems with loading FCKeditor (due to invalid code adding ShowBlocks button).
#15
Automatically closed -- issue fixed for two weeks with no activity.