Bug 766275 - Rename function. r=mfinkle

This commit is contained in:
Wes Johnston 2012-07-20 11:17:43 -07:00
Родитель 066e010b57
Коммит e2f824d877
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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