#3035: Javascript error in IE when using fckdialog to insert an image
------------------------------------+---------------------------------------
 Reporter:  eehret                  |       Owner:                 
     Type:  Bug                     |      Status:  new            
 Priority:  Normal                  |   Milestone:                 
Component:  UI : Dialogs            |     Version:  FCKeditor 2.6.4
 Keywords:  fckdialog, IE 6, error  |  
------------------------------------+---------------------------------------
 I have tried this several times in IE 6, using various different image
 settings (thumbnail, frame, border, right, left, etc) to no avail.

 After I select my image using the fckdialog, I get an error in the
 following function, on the line indicated by my comments:


 {{{
 /**
  * Ensures that the editing area contains an active selection. This is a
  * requirement for IE, as it looses the selection when the focus moves to
 other
  * frames.
  */
 EnsureSelection : function()
 {
         // Move the focus to the Cancel button so even if the dialog
 contains a
         // contentEditable element the selection is properly restored in
 the editor #2496

 // EE - Error occurs on the following line
         $( 'btnCancel' ).focus() ;
 // EE

         window.focus() ;


         FCK.Selection.Restore() ;
 }
 }}}

 Note:  I see that the line in question has been added in the latest
 release, and was not present in release 2.6.3.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3035>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to