зеркало из https://github.com/mozilla/pjs.git
supplimental fix for #102180. when closing the stand alone message window, we were
not unregistering the folder listener from the mail session, because the unload handler was failing. it was failing because GetSearchSession() has a js error, because for the stand alone msg window, gSearchSession is undefined. r/sr=bienvenu
This commit is contained in:
Родитель
006193ca09
Коммит
fbb76c8f44
|
@ -559,7 +559,7 @@ function OpenInboxForServer(server)
|
|||
|
||||
function GetSearchSession()
|
||||
{
|
||||
if (gSearchSession)
|
||||
if (("gSearchSession" in top) && gSearchSession)
|
||||
return gSearchSession;
|
||||
else
|
||||
return null;
|
||||
|
|
Загрузка…
Ссылка в новой задаче