id summary reporter owner description type status priority milestone component version resolution keywords cc 5127 Problem with removing advanced tab in link and image dialogs Damian Garry Yao "Insert the following code after CKEDITOR.replace( 'editor1' ); in ckeditor/_samples/replacebycode.html {{{ CKEDITOR.on('dialogDefinition', function( ev ) { var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; switch (dialogName) { case 'image': //Image Properties dialog dialogDefinition.removeContents('advanced'); break; case 'link': //image Properties dialog dialogDefinition.removeContents('advanced'); break; } }); }}} This should remove the advanced tab from the image and link dialogs. [[BR]] Save the html page and view it in a web browser.[[BR]] Click on the 'Insert Link' toolbar icon. [[BR]] The advanced tab is removed. [[BR]] Click cancel - the dialog closes correctly. [[BR]] Open the dialog again. [[BR]] Enter a link and click ok. [[BR]] The dialog closes and the link is inserted correctly into the editor.[[BR]] Now click on the 'Insert Image' toolbar icon. [[BR]] The advanced tab is removed. [[BR]] Click cancel - the dialog does not close and an error is shown in the console.[[BR]] Entering an image url and clicking ok does not close the dialog either. [[BR]] The only way to recover is to close the browser tab / window.[[BR]] Error in Firebug: {{{ this._.contents[pageId] is undefined [Break on this error] return this._.contents[pageId][elementId];\r\n }}}" Bug closed Normal CKEditor 3.2 UI : Dialogs SVN (CKEditor) - OLD fixed IBM Confirmed Review+