Fix bug 953457 'Conversation window does not take the focus'
This commit is contained in:
Родитель
56e94132fe
Коммит
309f01ae63
|
@ -177,8 +177,10 @@
|
|||
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Components.interfaces.nsIWindowMediator);
|
||||
var convWindow = wm.getMostRecentWindow("Messenger:convs");
|
||||
if (convWindow)
|
||||
if (convWindow) {
|
||||
convWindow.msgObserver.focusConv(conv);
|
||||
convWindow.focus();
|
||||
}
|
||||
else {
|
||||
// the conversation window has been closed. Force reopening.
|
||||
var os = Components.classes["@mozilla.org/observer-service;1"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче