mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Fix Go menu.
This commit is contained in:
parent
931602c2ca
commit
604a535e2b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user