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:
sspitzer%netscape.com 2001-11-01 04:41:45 +00:00
Родитель 006193ca09
Коммит fbb76c8f44
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -559,7 +559,7 @@ function OpenInboxForServer(server)
function GetSearchSession()
{
if (gSearchSession)
if (("gSearchSession" in top) && gSearchSession)
return gSearchSession;
else
return null;