another supplimental fix for #59638. send the notification for setting up toolbars

when we land after cross folder navigation for the stand alone msg window.
thanks for ssu for remembering this.
This commit is contained in:
sspitzer%netscape.com 2002-12-19 06:52:43 +00:00
parent bbaeef586e
commit 6bc66eea66

View File

@ -556,7 +556,11 @@ function RerootFolderForStandAlone(uri)
SetUpToolbarButtons(gCurrentFolderUri);
UpdateMailToolbar("reroot folder in stand alone window");
UpdateMailToolbar("reroot folder in stand alone window");
// hook for extra toolbar items
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.notifyObservers(window, "mail:setupToolbarItems", uri);
}
function GetMsgHdrFromUri(messageUri)