Added callback to Weave.Service.onStartup, which the Fennec UI uses to notify user that Weave has connected, that it ran into an error, or that it's awaiting configuration. Started moving fennec preferences from HTML to XUL.

This commit is contained in:
jonathandicarlo@jonathan-dicarlos-macbook-pro.local 2009-01-14 11:23:08 -08:00
Родитель 13ccc3082f
Коммит ce64889074
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -313,8 +313,8 @@ WeaveSvc.prototype = {
} catch (e) {}
self.done();
},
onStartup: function WeaveSvc_onStartup() {
this._onStartup.async(this);
onStartup: function WeaveSvc_onStartup(callback) {
this._onStartup.async(this, callback);
},
_initLogs: function WeaveSvc__initLogs() {