#2502: Allow Find and Replace in source mode
------------------------------+---------------------------------------------
 Reporter:  deweller          |       Owner:                 
     Type:  Task              |      Status:  new            
 Priority:  Normal            |   Milestone:                 
Component:  UI : Source View  |     Version:  FCKeditor 2.6.3
 Keywords:                    |  
------------------------------+---------------------------------------------
 When I allow Find/Replace toolbar button in source mode, I get a
 javascript error when trying to find text in source mode.


 The code to enable the Find button that I am using is this:

 FCKToolbarItems.RegisterItem('Find', new FCKToolbarButton('Find',
 FCKLang.Find, null, null, true, null, 16));


 When I enter source mode, then click the find icon, type in text in the
 dialog and click the Find button, I get a javascript error.  This happens
 in both IE 7 and Firefox 3.0.1.


 IE 7 reports this error:

 Line: 68
 Error: 'nodeType' is null or not an object



 The problem appears to be that the fck_replace.html dialog is trying to
 search the content of oEditor.FCK.EditorDocument.  While in source mode,
 this object is null.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2502>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to