Ticket #6137: 6137.patch
File 6137.patch, 833 bytes (added by , 14 years ago) |
---|
-
_source/plugins/table/dialogs/table.js
57 57 { 58 58 isPx = ( width.length < 3 || width.substr( width.length - 1 ) != '%' ); 59 59 width = parseInt( width, 10 ); 60 61 txtWidth && txtWidth.setValue( width ); 62 cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents' ); 60 63 } 61 64 62 txtWidth && txtWidth.setValue( width );63 cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents' );64 65 65 // Synchronize height value. 66 66 var height = this.getStyle( 'height', '' ), 67 67 txtHeight = dialog.getContentElement( 'info', 'txtHeight' );