зеркало из https://github.com/mozilla/gecko-dev.git
Changed the registered name AppCoresManager to XPAppCoresManager
This commit is contained in:
Родитель
a17c12c401
Коммит
ddac84c38b
|
@ -105,7 +105,7 @@ nsAppCoresNameSet::AddNameSet(nsIScriptContext* aScriptContext)
|
|||
|
||||
if (NS_OK != result) return result;
|
||||
|
||||
result = manager->RegisterGlobalName("AppCoresManager",
|
||||
result = manager->RegisterGlobalName("XPAppCoresManager",
|
||||
kAppCoresCID,
|
||||
PR_FALSE);
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
function StartUp()
|
||||
{
|
||||
appCore = AppCoresManager.Find("MailAppCore");
|
||||
appCore = XPAppCoresManager.Find("MailAppCore");
|
||||
if (appCore==null) {
|
||||
appCore = new MailCore();
|
||||
if (appCore != null) {
|
||||
|
@ -24,7 +24,7 @@
|
|||
function SendMailMessage()
|
||||
{
|
||||
dump("SendMailMessage!\n");
|
||||
var appCore = AppCoresManager.Find("MailAppCore");
|
||||
var appCore = XPAppCoresManager.Find("MailAppCore");
|
||||
if (appCore != null) {
|
||||
dump("Mail was sent!\n");
|
||||
appCore.SendMail(window.parent.frames[1].document.forms[0].elements[1].value,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
function StartUp()
|
||||
{
|
||||
dump("Doing Startup...\n");
|
||||
appCore = AppCoresManager.Find("BrowserAppCore");
|
||||
appCore = XPAppCoresManager.Find("BrowserAppCore");
|
||||
dump("Looking up BrowserAppCore...\n");
|
||||
if (appCore == null) {
|
||||
dump("Creating BrowserAppCore...\n");
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
function BrowserBack()
|
||||
{
|
||||
appCore = AppCoresManager.Find("BrowserAppCore");
|
||||
appCore = XPAppCoresManager.Find("BrowserAppCore");
|
||||
if (appCore != null) {
|
||||
dump("Going Back\n");
|
||||
appCore.back();
|
||||
|
@ -52,7 +52,7 @@
|
|||
|
||||
function BrowserForward()
|
||||
{
|
||||
appCore = AppCoresManager.Find("BrowserAppCore");
|
||||
appCore = XPAppCoresManager.Find("BrowserAppCore");
|
||||
if (appCore != null) {
|
||||
dump("Going Forward\n");
|
||||
appCore.forward();
|
||||
|
|
Загрузка…
Ссылка в новой задаче