Opened 6 years ago

Closed 6 years ago

#4401 closed Bug (fixed)

Link removeContents of upload tab not working

Reported by: wimpie3 Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.1
Component: UI : Dialogs Version: 3.0
Keywords: Confirmed Review+ Cc: wim.dewijngaert@…

Description (last modified by fredck)

Whe using the function below, the LINK dialog isn't shown anymore (javascript error). Comment out the line "dialogDefinition.removeContents( 'upload' );" and everything works again.

CKEDITOR.on( 'dialogDefinition', function( ev ) {
	var dialogName = ev.data.name;
	var dialogDefinition = ev.data.definition;
	if ( dialogName == 'link' )	{
		dialogDefinition.removeContents( 'advanced' );
		dialogDefinition.removeContents( 'upload' );
	}
});

Attachments (1)

4401.patch (635 bytes) - added by garry.yao 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by wimpie3

  • Cc wim.dewijngaert@… added

comment:2 Changed 6 years ago by fredck

  • Component changed from General to UI : Dialogs
  • Description modified (diff)
  • Priority changed from High to Normal

Changed 6 years ago by garry.yao

comment:3 Changed 6 years ago by garry.yao

  • Keywords Confirmed Review? added
  • Owner set to garry.yao
  • Status changed from new to assigned

'Info' tab page should not assume the pre-existence of 'Upload' page.

comment:4 Changed 6 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:5 Changed 6 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [4443].

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