#3029: Opera: FCKeditor 2.6.4 won't work correctly under text/xml mime-type
---------------------+------------------------------------------------------
 Reporter:  msg7086  |       Owner:                     
     Type:  Bug      |      Status:  new                
 Priority:  Normal   |   Milestone:  Opera Compatibility
Component:  General  |     Version:  FCKeditor 2.6.4    
 Keywords:           |  
---------------------+------------------------------------------------------
 under .xml or text/xml:

 can't edit anything, lots of error message from console.

 test under opera 9.63 and opera 10alpha1139, with fck official demo page
 saved with .xml, all failed.


 changing extension to .htm or header('Content-Type: text/html') will make
 the exact same script work

 {{{

 JavaScript -
 http://-----------/htmleditor/editor/fckeditor.html?InstanceName=intro
 Inline script thread
 Error:
 name: TypeError
 message: Statement on line 85: Type mismatch (usually non-object value
 supplied where object required)
 stacktrace:   Line 85 of linked script
 http://-----------/htmleditor/editor/js/fckeditorcode_gecko.js
 
function(A){this.IsRTL=(FCKLang.Dir=='rtl');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var
 B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();var
 C=this._Window.document;if
 
(FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if
 
(FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var
 
D=this._IFrame=this._Window.document.createElement('iframe');FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.scrolling='no';D.style.width=D.style.height='0px';FCKDomTools.SetElementStyles(D,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var
 E=D.contentWindow;B=this.Document=E.document;var F='';if
 (FCKBrowserInfo.IsSafari) F='<base
 
href="'+window.document.location+'">';B.open();B.write('<html><head>'+F+'<\/head><body
 
style="margin:0px;padding:0px;"><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR)
 
FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,'contextmenu',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';}

 }}}

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