Fix Go menu.

This commit is contained in:
hyatt%netscape.com 2002-10-11 18:56:05 +00:00
parent 931602c2ca
commit 604a535e2b

View File

@ -608,6 +608,8 @@ function updateGoMenu(goMenu)
var res = builder.getResourceAtIndex(i);
var url = res.Value;
var titleRes = history.database.GetTarget(res, nameResource, true);
if (!titleRes)
continue;
var titleLiteral = titleRes.QueryInterface(Components.interfaces.nsIRDFLiteral);
beforeItem = constructGoMenuItem(goMenu, beforeItem, url, titleLiteral.Value);
}