зеркало из https://github.com/mozilla/gecko-dev.git
Bug 766275 - Rename function. r=mfinkle
This commit is contained in:
Родитель
066e010b57
Коммит
e2f824d877
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче