Opened 6 years ago

Closed 6 years ago

#5060 closed New Feature (fixed)

Allow registration of CKEDITOR.dialog event listeners in dialogDefinition event

Reported by: JoeK Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.2
Component: General Version: SVN (CKEditor) - OLD
Keywords: IBM Confirmed Cc: dchojna@…


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 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.

Change History (3)

comment:1 Changed 6 years ago by fredck

  • Keywords Confirmed added

comment:2 Changed 6 years ago by garry.yao

  • Owner set to garry.yao
  • Status changed from new to assigned

Well, the 'dialogDefinition' should really be used for only manipulate the definition object only.
Fixed with [4992].

comment:3 Changed 6 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy