#3499: Error when using tablecommands plugin and claiming focus before fckeditor
has completed loading
-----------------------+----------------------------------------------------
 Reporter:  Tentacle1  |       Owner:     
     Type:  Bug        |      Status:  new
 Priority:  Normal     |   Milestone:     
Component:  General    |     Version:     
 Keywords:             |  
-----------------------+----------------------------------------------------
 Hi,

 I am using v2.6.4 (but this problem was also present in previous
 releases).

 When i enable the tablecommands plugin and include the required  buttons
 in the toolbarset i'm getting a JS error when clicking on another input
 field in the form before FCKeditor has completed loading (because of a
 non-caching browser and/or slow connection).

 The annoying thing about this error is that FCKeditor continues to work
 but when you submit the data, the data you first put into the editor is
 being submitted and not the changed (edit) data.

 The problem is IE(7/8) related (firefox works fine). IE8 tells me that the
 error is in:

 /fckeditor/editor/js/fckeditorcode_ie.js
 line: 66
 char: 429

 Which leads to:

 /fckeditor/editor/_source/internals/fcktablehandler_ie.js
 line: 51
 col: 5

 I can 'fix' the problem in 2 ways:
 - Remove both the 'TableMergeCells' and 'TableHorizontalSplitCell' from
 the toolbarset (all other table related buttons can stay).
 - Put FCK.Focus(); in the beginning of the
 FCKTableHandler.GetSelectedCells function so that FCKeditor always has
 focus, but this is cleary not a solution.

 Reproduce by:
 - using the asp version (JS version on a local drive works to fast)
 - enable tablecommands plugin and add tablebuttons in toolbarset
 - add an input field above FCKeditor inside the form
 - Load the page preferrably from an external server with a non-caching
 browser (so you have time to click on the input field before FCKeditor has
 finished loading).

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3499>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to