Ticket #5943: 5943.patch

File 5943.patch, 942 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/image/dialogs/image.js

     
    664664                                                                                                                                                        element.setStyle( 'width',  oImageOriginal.$.width + 'px');
    665665                                                                                                                                        }
    666666                                                                                                                                        else
    667                                                                                                                                                 element.setStyle( 'width', value + 'px');
     667                                                                                                                                                element.setStyle( 'width', value );
    668668                                                                                                                                }
    669669                                                                                                                                else if ( type == CLEANUP )
    670670                                                                                                                                {
     
    715715                                                                                                                                                        element.setStyle( 'height', oImageOriginal.$.height + 'px' );
    716716                                                                                                                                        }
    717717                                                                                                                                        else
    718                                                                                                                                                 element.setStyle( 'height', value + 'px' );
     718                                                                                                                                                element.setStyle( 'height', value );
    719719                                                                                                                                }
    720720                                                                                                                                else if ( type == CLEANUP )
    721721                                                                                                                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy