X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fimage%2Fdialogs%2Fimage.js;h=3c24d2fed0a84dc054bec6b926f0ef915be04ed7;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=992d700c061695f55b6b4af641ba6cd87c886ea6;hpb=2f22c0c38f17e75be5541089076885442aaa2377;p=ckeditor.git diff --git a/_source/plugins/image/dialogs/image.js b/_source/plugins/image/dialogs/image.js index 992d700..3c24d2f 100644 --- a/_source/plugins/image/dialogs/image.js +++ b/_source/plugins/image/dialogs/image.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -846,11 +846,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license element.setStyle( 'border-style', 'solid' ); } else if ( !value && this.isChanged() ) - { - element.removeStyle( 'border-width' ); - element.removeStyle( 'border-style' ); - element.removeStyle( 'border-color' ); - } + element.removeStyle( 'border' ); if ( !internalCommit && type == IMAGE ) element.removeAttribute( 'border' );