Bug 532175 - Send event when Weave is ready to register new engines

Notify with "weave:service:ready" so observers can lazily load and wait to add engines, Weave UI.
This commit is contained in:
Edward Lee 2009-12-15 14:21:13 -08:00
parent 1213f59b7e
commit 33626cced1

View File

@ -302,6 +302,9 @@ WeaveSvc.prototype = {
this._updateCachedURLs();
// Send an event now that Weave service is ready
Svc.Obs.notify("weave:service:ready");
if (Svc.Prefs.get("autoconnect"))
this._autoConnect();
},