Ticket #6137: 6137.patch

File 6137.patch, 833 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/table/dialogs/table.js

     
    5757                                                        {
    5858                                                                isPx = ( width.length < 3 || width.substr( width.length - 1 ) != '%' );
    5959                                                                width = parseInt( width, 10 );
     60
     61                                                                 txtWidth && txtWidth.setValue( width );
     62                                                                cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents' );
    6063                                                        }
    6164
    62                                                         txtWidth && txtWidth.setValue( width );
    63                                                         cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents' );
    64 
    6565                                                        // Synchronize height value.
    6666                                                        var height = this.getStyle( 'height', '' ),
    6767                                                                txtHeight = dialog.getContentElement( 'info', 'txtHeight' );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy