Changeset 1921
- Timestamp:
- 04/14/08 05:46:18 (5 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 edited
-
_whatsnew.html (modified) (1 diff)
-
editor/_source/classes/fckxml_gecko.js (modified) (1 diff)
-
editor/_source/classes/fckxml_ie.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_whatsnew.html
r1920 r1921 42 42 <p> 43 43 Fixed Bugs:</p> 44 <ul> 44 45 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no longer possible 45 46 for an image to have its width and height defined with both HTML attributes and inline CSS 46 47 styles in IE.</li> 47 <ul>48 <li></li>48 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed the error loading 49 fckstyles.xml in servers which cannot return the correct content type header for .xml files.</li> 49 50 </ul> 50 51 <h3> -
FCKeditor/trunk/editor/_source/classes/fckxml_gecko.js
r1565 r1921 33 33 oXmlHttp.send( null ) ; 34 34 35 if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 ) 35 if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 || ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) ) 36 { 36 37 oXml = oXmlHttp.responseXML ; 37 else if ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) 38 oXml = oXmlHttp.responseXML ; 38 // #1426: Fallback if responseXML isn't set for some 39 // reason (e.g. improperly configured web server) 40 if ( !oXml ) 41 oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; 42 } 39 43 else 40 44 oXml = null ; -
FCKeditor/trunk/editor/_source/classes/fckxml_ie.js
r1565 r1921 41 41 oXmlHttp.send( null ) ; 42 42 43 if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 ) 43 if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 || ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) ) 44 { 44 45 this.DOMDocument = oXmlHttp.responseXML ; 45 else if ( oXmlHttp.status == 0 && oXmlHttp.readyState == 4 ) 46 { 47 this.DOMDocument = FCKTools.CreateXmlObject( 'DOMDocument' ) ; 48 this.DOMDocument.async = false ; 49 this.DOMDocument.resolveExternals = false ; 50 this.DOMDocument.loadXML( oXmlHttp.responseText ) ; 46 47 // #1426: Fallback if responseXML isn't set for some 48 // reason (e.g. improperly configured web server) 49 if ( !this.DOMDocument ) 50 { 51 this.DOMDocument = FCKTools.CreateXmlObject( 'DOMDocument' ) ; 52 this.DOMDocument.async = false ; 53 this.DOMDocument.resolveExternals = false ; 54 this.DOMDocument.loadXML( oXmlHttp.responseText ) ; 55 } 51 56 } 52 57 else
Note: See TracChangeset
for help on using the changeset viewer.
