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:
rjc%netscape.com
2006-07-27 14:51:17 +00:00
parent 8c179cc357
commit 1ddf200c0f

View File

@@ -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" &&