Ticket #2966: 2966.patch

File 2966.patch, 911 bytes (added by Artur Formella, 15 years ago)
  • _source/plugins/image/dialogs/image.js

     
    11431143                                                                        var height = element.getAttribute( 'height' );
    11441144                                                                                width = element.getAttribute( 'width' );
    11451145
    1146                                                                         if ( this.attributesInStyle.height )
     1146                                                                        if ( this.attributesInStyle && this.attributesInStyle.height )
    11471147                                                                        {
    11481148                                                                                if ( height && height != '' )
    11491149                                                                                {
     
    11551155                                                                                else
    11561156                                                                                        element.removeStyle( 'height' );
    11571157                                                                        }
    1158                                                                         if ( this.attributesInStyle.width )
     1158                                                                        if ( this.attributesInStyle && this.attributesInStyle.width )
    11591159                                                                        {
    11601160                                                                                if ( width && width != '' )
    11611161                                                                                        if ( width.match( regexGetSize )[2] == '%' )                    // % is allowed
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy