зеркало из https://github.com/mozilla/pjs.git
fix opening folder in new mail window regression r=naving, sr=sspitzer, a=asa 133484
This commit is contained in:
Родитель
05239f9588
Коммит
1fc6f3670b
|
@ -44,6 +44,6 @@ interface nsIMessengerWindowService : nsISupports {
|
||||||
aFolderURI --> the folder resource you want pre-selected (if any)
|
aFolderURI --> the folder resource you want pre-selected (if any)
|
||||||
aMsgKey --> a particular message you may want selected in that folder (if any)
|
aMsgKey --> a particular message you may want selected in that folder (if any)
|
||||||
*/
|
*/
|
||||||
void OpenMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
|
void openMessengerWindowWithUri(in string aWindowType, in string aFolderURI, in nsMsgKey aMsgKey);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -963,7 +963,7 @@ function MsgOpenNewWindowForFolder(uri, key)
|
||||||
// get the messenger window open service and ask it to open a new window for us
|
// get the messenger window open service and ask it to open a new window for us
|
||||||
var mailWindowService = Components.classes["@mozilla.org/messenger/windowservice;1"].getService(Components.interfaces.nsIMessengerWindowService);
|
var mailWindowService = Components.classes["@mozilla.org/messenger/windowservice;1"].getService(Components.interfaces.nsIMessengerWindowService);
|
||||||
if (mailWindowService)
|
if (mailWindowService)
|
||||||
mailWindowService.openMessengerWindowWithUri(uriToOpen, keyToSelect);
|
mailWindowService.openMessengerWindowWithUri("mail:3pane", uriToOpen, keyToSelect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче