Ticket #8107 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Radio buttons on dialogs cause an error in IE quirks mode

Reported by: tmonahan Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 3.6.1
Keywords: IE IBM Cc: damo, satya

Description

To reproduce add a radio button element to any dialog e.g.

{
	type : 'radio',
	id : 'type',
	required : true,
	'default' : 'one',
	items :
	[
		[ 'Radio1', 'one' ],
		[ 'Radio2', 'two' ]
	]
}

Load the page in IE in quirks mode and open the dialog.

Problem: The browser throws the following error:

'children[...].align' is null or not an object

This error can be traced back to line 2538 of plugins/dialog/plugin.js:

// In IE Quirks alignment has to be done on table cells. (#7324)
if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align )

Change History

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Keywords IE added

Reproducible form rev [6942] in IE Quirks.

comment:2 Changed 3 years ago by j.swiderski

Error message:
Message: 'children[...].align' is null or not an object
Line: 2450
URI: ckeditor/_source/plugins/dialog/plugin.js

comment:3 Changed 3 years ago by garry.yao

  • Status changed from confirmed to closed
  • Resolution set to fixed
  • Component changed from General to UI : Dialogs

Fixed with [7108].

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy