#1426: Error loading fckstyles.xml
----------------------+-----------------------------------------------------
Reporter: l_wang | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: FCKeditor 2.4.3
Resolution: | Keywords: Pending WorksForMe
----------------------+-----------------------------------------------------
Comment (by [EMAIL PROTECTED]):
I have the same error with the nightly build of 2.6.x
Also with 2.6rc.
It applies to both IE7 and FireFox.
My point is, even if you can configure it somehow, the examples work on
the fck site, they do not work on my downloaded examples, unless I change
fckxml_ie.js:
{{{
//if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 )
//this.DOMDocument = oXmlHttp.responseXML ;
//else
if (oXmlHttp.status == 200 || oXmlHttp.status == 304 ||(
oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ))
{
this.DOMDocument = FCKTools.CreateXmlObject(
'DOMDocument' ) ;
this.DOMDocument.async = false ;
this.DOMDocument.resolveExternals = false ;
this.DOMDocument.loadXML( oXmlHttp.responseText )
;
}
}}}
The commented parts show what I changed. The point in my case is that if
the response header is 200/OK, the oXmlHttp.responseXML object is
undefined, while oXmlHttp.responseText is correct.
I wonder how you manage to get it working on your site, so I will read the
configuration part.
--
Ticket URL: <http://dev.fckeditor.net/ticket/1426#comment:2>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac