Ticket #2117: 2117.patch
File 2117.patch, 2.2 KB (added by , 17 years ago) |
---|
-
_whatsnew.html
122 122 Safari 3.1 browser bug which caused the Fit Window button to give a blank screen.</li> 123 123 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2218">#2218</a>] Improved Gecko based browser 124 124 detection to accept Epiphany/Gecko as well.</li> 125 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2117">#2117</a>] Fixed the issue where the file 126 browser does not work under domain relaxation mode under Firefox 2.x or lower.</li> 125 127 </ul> 126 128 <h3> 127 129 Version 2.6</h3> -
editor/filemanager/browser/default/js/fckxml.js
61 61 { 62 62 if ( oXmlHttp.readyState == 4 ) 63 63 { 64 if ( ( oXmlHttp.status != 200 && oXmlHttp.status != 304 ) || oXmlHttp.responseXML == null || oXmlHttp.responseXML.firstChild == null ) 64 var oXml ; 65 try 65 66 { 67 // this is the same test for an FF2 bug as in fckxml_gecko.js 68 // but we've moved the responseXML assignment into the try{} 69 // so we don't even have to check the return status codes. 70 var test = oXmlHttp.responseXML.firstChild ; 71 oXml = oXmlHttp.responseXML ; 72 } 73 catch ( e ) 74 { 75 try 76 { 77 oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; 78 } 79 catch ( e ) {} 80 } 81 82 if ( !oXml || !oXml.firstChild || oXml.firstChild.nodeName == 'parsererror' ) 83 { 66 84 alert( 'The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n' + 67 85 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')\n\n' + 68 86 'Requested URL:\n' + urlToCall + '\n\n' + … … 70 88 return ; 71 89 } 72 90 73 oFCKXml.DOMDocument = oXml Http.responseXML;91 oFCKXml.DOMDocument = oXml ; 74 92 asyncFunctionPointer( oFCKXml ) ; 75 93 } 76 94 }