Bug 766275 - Rename function. r=mfinkle

This commit is contained in:
Wes Johnston 2012-07-20 11:17:43 -07:00
parent e99cf3680d
commit 4facf3fd63

View File

@ -246,7 +246,7 @@ var BrowserApp = {
WebAppRT.init(updated);
} else {
SearchEngines.init();
this.addBrowserContextMenuItems();
this.initContextMenu();
}
if (url == "about:empty")
@ -350,7 +350,7 @@ var BrowserApp = {
return "";
},
addBrowserContextMenuItems: function ba_addBrowserContextMenuItems() {
initContextMenu: function ba_initContextMenu() {
// TODO: These should eventually move into more appropriate classes
NativeWindow.contextmenus.add(Strings.browser.GetStringFromName("contextmenu.openInNewTab"),
NativeWindow.contextmenus.linkOpenableContext,