Ticket #2795: 2795.patch

File 2795.patch, 3.7 KB (added by Artur Formella, 15 years ago)
  • _source/plugins/flash/dialogs/flash.js

     
    277277                        if ( editor.config.flash.uploadTab == false )
    278278                                this.hidePage( 'Upload' );              //Hide Upload tab.
    279279
    280                         if ( editor.config.flash.showAdvancedTab == false )
    281                                 this.hidePage( 'advanced' );            //Hide Advanded tab.
    282 
    283                         if ( editor.config.flash.showPropertiesTab == false )
    284                                 this.hidePage( 'advanced' );            //Hide Proporties tab.
    285 
    286280                        if ( editor.config.flash.browseServer == false )
    287281                                this.getContentElement( 'info', 'browse' ).getElement().hide();
    288282
  • _source/plugins/flash/plugin.js

     
    2525        uploadTab : true,
    2626        uploadAction : 'nowhere.php',
    2727        browseServer : true,
    28         showAdvancedTab : true,
    29         showPropertiesTab : true,
    3028
    3129        /**
    3230         * Save as EMBED tag only. This tag is unrecommended.
  • _source/plugins/image/dialogs/image.js

     
    626626                        if ( !imageDialog )
    627627                                this.hidePage( 'Link' );                //Hide Link tab.
    628628
    629                         if ( editor.config.image.uploadTab == false )
    630                                 this.hidePage( 'Upload' );              //Hide Upload tab.
    631 
    632                         if ( editor.config.image.showAdvancedTab == false )
    633                                 this.hidePage( 'advanced' );            //Hide Advanded tab.
    634 
    635629                        if ( editor.config.image.browseServer == false )
    636630                                this.getContentElement( 'info', 'browse' ).getElement().hide();
    637631
  • _source/plugins/image/plugin.js

     
    4141         * @type URL
    4242         */
    4343        uploadAction : 'nowhere.php',
    44 
    45         /**
    46          * Show Image preview in the Image Dialog.
    47          * @type Boolean
    48          * @default true
    49          */
    50         showPreview : true,
    51         showAdvancedTab : true,
    5244        removeLinkByEmptyURL : true,
    5345
    5446        /**
  • _source/plugins/link/dialogs/link.js

     
    3131                        typeValue = this.getValue();
    3232                if ( typeValue == 'url' )
    3333                {
    34                         if ( editor.config.link.showTargetTab )
    35                                 dialog.showPage( 'target' );
     34                        dialog.showPage( 'target' );
    3635                        if ( editor.config.link.uploadTab )
    3736                                dialog.showPage( 'upload' );
    3837                }
     
    850849                        if ( editor.config.link.uploadTab == false )
    851850                                this.hidePage( 'upload' );              //Hide Upload tab.
    852851
    853                         if ( editor.config.link.showAdvancedTab == false )
    854                                 this.hidePage( 'advanced' );            //Hide Advanded tab.
    855 
    856852                        if ( editor.config.link.browseServer == false )
    857853                                this.getContentElement( 'info', 'browse' ).getElement().hide();
    858 
    859                         if ( editor.config.link.showTargetTab == false )
    860                                 this.hidePage( 'target' );              //Hide Target tab.
    861 
    862854                },
    863855                onHide : function()
    864856                {
  • _source/plugins/link/plugin.js

     
    8787        uploadTab : true,
    8888        browseServer : true,
    8989        uploadAction : 'nowhere.php',
    90         showAdvancedTab : true,
    91         showTargetTab : true,
    9290        defaultValues :
    9391        {
    9492                /**
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy