Fix onInit() in styled textbox if already initialized

This commit is contained in:
Dan Stillman 2017-04-01 14:27:37 -04:00
parent 4edcf5839b
commit 4867fc7e03

View file

@ -614,7 +614,7 @@
<parameter name="callback"/>
<body><![CDATA[
if (this.initialized) {
this._editor.once(event, callback);
callback(this._editor);
}
else {
this._onInitCallbacks.push(callback);