Revision 1359
Added by Dietmar over 13 years ago
frmresourceslist.html.org | ||
---|---|---|
1 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 |
<!-- |
3 | 3 |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
4 |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
|
4 |
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
|
|
5 | 5 |
* |
6 | 6 |
* == BEGIN LICENSE == |
7 | 7 |
* |
... | ... | |
89 | 89 |
|
90 | 90 |
function OpenFile( fileUrl ) |
91 | 91 |
{ |
92 |
window.top.opener.SetUrl( encodeURI( fileUrl ).replace( '#', '%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 |
} |
Also available in: Unified diff
upgrade FCKeditor to Version 2.6.6