Allow registration of CKEDITOR.dialog event listeners in dialogDefinition event
|Reported by:||JoeK||Owned by:||garry.yao|
|Component:||General||Version:||SVN (CKEditor) - OLD|
Within the CKEDITOR.dialog constructor, the CKEDITOR.dialog._ object is being set after the dialogDefinition event is fired. If the dialogDefinition event is used to register an event listener for a CKEDITOR.dialog event it will get overridden, removing the CKEDITOR.dialog._.events object.
In the CKEDITOR.dialog constructor, can the block of code that sets the CKEDITOR.dialog._ object be moved above where the dialogDefinition event is fired.