Ticket #5943: 5943_2.patch
File 5943_2.patch, 999 bytes (added by , 14 years ago) |
---|
-
_source/plugins/image/dialogs/image.js
664 664 element.setStyle( 'width', oImageOriginal.$.width + 'px'); 665 665 } 666 666 else 667 element.setStyle( 'width', value + 'px');667 element.setStyle( 'width', CKEDITOR.tools.cssLength( value ) ); 668 668 } 669 669 else if ( type == CLEANUP ) 670 670 { … … 715 715 element.setStyle( 'height', oImageOriginal.$.height + 'px' ); 716 716 } 717 717 else 718 element.setStyle( 'height', value + 'px');718 element.setStyle( 'height', CKEDITOR.tools.cssLength( value ) ); 719 719 } 720 720 else if ( type == CLEANUP ) 721 721 {