Ticket #8652: 8652.patch

File 8652.patch, 1.3 KB (added by Sa'ar Zac Elias, 12 years ago)
  • _source/plugins/dialogui/plugin.js

     
    14371437                                                if ( elementDefinition.size )
    14381438                                                        size = elementDefinition.size - ( CKEDITOR.env.ie  ? 7 : 0 );   // "Browse" button is bigger in IE.
    14391439
    1440                                                 frameDocument.$.write( [ '<html dir="' + langDir + '" lang="' + langCode + '"><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">',
    1441                                                                 '<form enctype="multipart/form-data" method="POST" dir="' + langDir + '" lang="' + langCode + '" action="',
     1440                                                // Safari@mac won't show the iframe up without this if the cache is empty. (#8652)
     1441                                                frameDocument.$.write( [ '<html dir="' + langDir + '" lang="' + langCode + '"><head><title></title></head><body style="margin: 0; overflow' + ( CKEDITOR.env.webkit && CKEDITOR.env.mac ? '-y' : '' ) + ': hidden; background: transparent;">',
     1442                                                                '<form enctype="multipart/form-data" method="POST" style="margin: 0;" dir="' + langDir + '" lang="' + langCode + '" action="',
    14421443                                                                CKEDITOR.tools.htmlEncode( elementDefinition.action ),
    14431444                                                                '">',
    14441445                                                                '<input type="file" name="',
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy