Call initialized
event once everything in core has been set up
This commit is contained in:
parent
2173359718
commit
6506d4745a
@ -683,6 +683,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
deferred.resolve();
|
deferred.resolve();
|
||||||
|
converse.emit('initialized');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.onConnected = function (callback) {
|
this.onConnected = function (callback) {
|
||||||
@ -1856,7 +1857,6 @@
|
|||||||
this.initializePlugins();
|
this.initializePlugins();
|
||||||
this._initialize();
|
this._initialize();
|
||||||
this.registerGlobalEventHandlers();
|
this.registerGlobalEventHandlers();
|
||||||
converse.emit('initialized');
|
|
||||||
};
|
};
|
||||||
return converse;
|
return converse;
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user