#3999: It is impossible to remove Preview from Flash dialog
--------------------------+-------------------------------------------------
 Reporter:  arczi         |       Owner:              
     Type:  Bug           |      Status:  new         
 Priority:  Normal        |   Milestone:  CKEditor 3.x
Component:  UI : Dialogs  |     Version:              
 Keywords:                |  
--------------------------+-------------------------------------------------
 To reproduce:

 - Please add the following lines to samples/api_dialog.html:
 {{{
 37. if ( dialogName == 'flash' )
 38. {
 39.     var infoTab = dialogDefinition.getContents( 'info' );
 40.     infoTab.remove( 'preview' );
 41. }
 }}}

 - Add also 'Flash' to toolbar definition in the same file.

 - Open flash dialog.

 Result: JS error:
 {{{
 dialog.getContentElement("info", "preview") is undefined
 http://localhost/edytor/CKEditor/trunk/_source/plugins/flash/dialogs/flash.js
 Line 324
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3999>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to