#1969: FCKXml.LoadUrl fails on non-http pages
-----------------------+----------------------------------------------------
  Reporter:  develyoy  |       Owner:     
      Type:  Bug       |      Status:  new
  Priority:  Low       |   Milestone:     
 Component:  General   |     Version:     
Resolution:            |    Keywords:     
-----------------------+----------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 In editor/_source/classes/fckxml_ie.js (and also fckxml_gecko.js)

 use

 {{{
         if ( (oXmlHttp.status == 0 && oXmlHttp.readyState == 4 )  ||
 oXmlHttp.status == 200  || oXmlHttp.status == 304   )
                 {
                         this.DOMDocument = FCKTools.CreateXmlObject(
 'DOMDocument' ) ;
                         this.DOMDocument.async = false ;
                         this.DOMDocument.resolveExternals = false ;
                         this.DOMDocument.loadXML( oXmlHttp.responseText )
 ;
                 }
                 else
                 {
                         this.DOMDocument = null ;
                 }
 }}}

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

Reply via email to