Part of fix for nsbeta2+ bug # 28787: FTP listings of non-ascii filenames. r=me
git-svn-id: svn://10.0.0.236/trunk@204458 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -55,10 +55,15 @@ function Init()
|
||||
}
|
||||
debug("base URL = " + baseURI + "\n");
|
||||
|
||||
// Note: set encoding for FTP URLs BEFORE setting "ref"
|
||||
HTTPIndex.encoding = "ISO-8859-1";
|
||||
|
||||
// re-root the tree
|
||||
tree.setAttribute("ref", baseURI);
|
||||
}
|
||||
|
||||
|
||||
|
||||
function OnClick(event)
|
||||
{
|
||||
if( event.type == "click" &&
|
||||
|
||||
Reference in New Issue
Block a user