Ticket #4401 (closed Bug: fixed)

Opened 6 months ago

Last modified 4 months ago

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) (diff)

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

4401.patch Download (0.6 KB) - added by garry.yao 5 months ago.

Change History

Changed 6 months ago by wimpie3

  • cc wim.dewijngaert@… added

Changed 6 months ago by fredck

  • priority changed from High to Normal
  • component changed from General to UI : Dialogs
  • description modified (diff)

Changed 5 months ago by garry.yao

Changed 5 months 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.

Changed 4 months ago by fredck

  • keywords Review+ added; Review? removed

Changed 4 months ago by garry.yao

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [4443].

Note: See TracTickets for help on using tickets.