Ticket #5060 (closed New Feature: fixed)

Opened 5 years ago

Last modified 5 years ago

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@…

Description

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.

Change History

comment:1 Changed 5 years ago by fredck

  • Keywords Confirmed added

comment:2 Changed 5 years ago by garry.yao

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

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

comment:3 Changed 5 years ago by garry.yao

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