Ticket #2689: 2689.patch
File 2689.patch, 1.7 KB (added by , 15 years ago) |
---|
-
_whatsnew.html
50 50 About plugin shows misleading user language</li> 51 51 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2821">#2821</a>] Configuration 52 52 items that used floating point numbers were parsed as integers.</li> 53 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2689">#2689</a>] If a 54 custom connector tried to use the "url" attribute for files it was always reencoded.</li> 53 55 <li>Language file updates for the following languages: 54 56 <ul> 55 57 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2849">#2849</a>] Lithuanian</li> -
editor/filemanager/browser/default/frmresourceslist.html
89 89 90 90 function OpenFile( fileUrl ) 91 91 { 92 window.top.opener.SetUrl( encodeURI( fileUrl ).replace( /#/g, '%23' )) ;92 window.top.opener.SetUrl( fileUrl ) ; 93 93 window.top.close() ; 94 94 window.top.opener.focus() ; 95 95 } … … 145 145 146 146 // Get the optional "url" attribute. If not available, build the url. 147 147 var oFileUrlAtt = oNodes[j].attributes.getNamedItem('url') ; 148 var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName;148 var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, '%23' ) ; 149 149 150 150 oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ; 151 151 }