#2519: Firefox 3 form submit via javascript with multiple editor instances
----------------------+-----------------------------------------------------
  Reporter:  ccarey   |       Owner:                   
      Type:  Bug      |      Status:  new              
  Priority:  Normal   |   Milestone:                   
 Component:  General  |     Version:  FCKeditor 2.6.3  
Resolution:           |    Keywords:  Confirmed Firefox
----------------------+-----------------------------------------------------

Comment(by george_a):

 FF 3.0.0
 Cache Off;
 FCK 2.6.3.

 I have 4 editors on page. 3 of them in <div style="display:hidden">
 And after loading page im have in FCKeditorAPI.Instances only one editor
 reference;

 Im change code to:
 var A = window.parent;
 if(!(FCKeditorAPI = A.FCKeditorAPI)){
  ++ alert('Create new');
   ....

 And on loading page im see 4 alerts 'Create new';

 It is wrong


 Im change code again:

 var A = window.parent;
 ++ alert(window.parent);
 if(!(FCKeditorAPI = A.FCKeditorAPI)){
  ++ alert('Create new');

 And im see 4 alerts with 'Object' and only one alerts with 'Create new'.

 It`s well.

 May be parent.window ever not exists then executing this expression.

 Sorry for my English...

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2519#comment:7>
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