mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
fix js exception bringing up search dialog that was preventing widgets from getting displayed, sr=mscott 242098
This commit is contained in:
parent
c10b85400f
commit
8a7fd257a1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user