fix js exception bringing up search dialog that was preventing widgets from getting displayed, sr=mscott 242098

This commit is contained in:
bienvenu%nventure.com 2004-04-30 18:10:14 +00:00
parent c10b85400f
commit 8a7fd257a1

View File

@ -521,8 +521,8 @@ function setupDatasource() {
// attributes about each message)
gSearchSession = Components.classes[searchSessionContractID].createInstance(Components.interfaces.nsIMsgSearchSession);
gSearchSessionFolderListener = gSearchSession.QueryInterface(Components.interfaces.nsIFolderListener);
gMailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession);
gSearchSessionFolderListener = gMailSession.QueryInterface(Components.interfaces.nsIFolderListener);
var nsIFolderListener = Components.interfaces.nsIFolderListener;
var notifyFlags = nsIFolderListener.event;
gMailSession.AddFolderListener(gFolderListener, notifyFlags);