Fix onInit() in styled textbox if already initialized
This commit is contained in:
parent
4edcf5839b
commit
4867fc7e03
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue