#4401: Link removeContents of upload tab not working ---------------------+------------------------------------------------------ Reporter: wimpie3 | Owner: Type: Bug | Status: new Priority: High | Milestone: CKEditor 3.1 Component: General | Version: CKEditor 3.0 Keywords: | ---------------------+------------------------------------------------------ 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' ); } }); -- Ticket URL: <http://dev.fckeditor.net/ticket/4401> CKEditor <http://ckeditor.com/> The text editor for Internet ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac