Ticket #3642: 3642_2.patch

File 3642_2.patch, 2.6 KB (added by Artur Formella, 15 years ago)
  • _source/plugins/dialogui/plugin.js

     
    12431243                                                if ( CKEDITOR.env.isCustomDomain() )
    12441244                                                        frameDocument.$.domain = document.domain;
    12451245
     1246                                                var size = '';
     1247                                                if ( elementDefinition.size )
     1248                                                        size = elementDefinition.size - ( CKEDITOR.env.ie  ? 7 : 0 );   // "Browse" button is bigger in IE.
     1249
    12461250                                                frameDocument.$.write( [ '<html><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">',
    12471251                                                                '<form enctype="multipart/form-data" method="POST" action="',
    12481252                                                                CKEDITOR.tools.htmlEncode( elementDefinition.action ),
     
    12501254                                                                '<input type="file" name="',
    12511255                                                                CKEDITOR.tools.htmlEncode( elementDefinition.id || 'cke_upload' ),
    12521256                                                                '" size="',
    1253                                                                 CKEDITOR.tools.htmlEncode( elementDefinition.size || '' ),
     1257                                                                CKEDITOR.tools.htmlEncode( size > 0 ? size : "" ),
    12541258                                                                '" />',
    12551259                                                                '</form>',
    12561260                                                                '</body></html>' ].join( '' ) );
  • _source/plugins/image/dialogs/image.js

     
    972972                                                        type : 'file',
    973973                                                        id : 'upload',
    974974                                                        label : editor.lang.image.btnUpload,
     975                                                        style: 'height:40px',
    975976                                                        size : 38
    976977                                                },
    977978                                                {
  • _source/plugins/link/dialogs/link.js

     
    828828                                                type : 'file',
    829829                                                id : 'upload',
    830830                                                label : editor.lang.common.upload,
    831                                                 size : 38
     831                                                style: 'height:40px',
     832                                                size : 29
    832833                                        },
    833834                                        {
    834835                                                type : 'fileButton',
  • CHANGES.html

     
    4444        <p>
    4545                Fixed issues:</p>
    4646        <ul>
     47                <li><a href="http://dev.fckeditor.net/ticket/3642">#3642</a> : Fixed file type form field layout</li>
    4748                <li><a href="http://dev.fckeditor.net/ticket/3859">#3859</a> : Fixed Flash dialog layout in Webkit</li>
    4849                <li><a href="http://dev.fckeditor.net/ticket/3852">#3852</a> : Disabled textarea resizing in dialogs</li>
    4950                <li><a href="http://dev.fckeditor.net/ticket/3781">#3781</a> : Colorbutton is now disabled in 'source' mode</li>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy