X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fdialogadvtab%2Fplugin.js;h=ad111ffc480e727c6b13ca4d46b1af1963ac50e7;hb=f0610347140239143439a511ee2bd48cb784f470;hp=5feec9c233be72ff864fcce67f9c85cadaf75770;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7;p=ckeditor.git diff --git a/_source/plugins/dialogadvtab/plugin.js b/_source/plugins/dialogadvtab/plugin.js index 5feec9c..ad111ff 100644 --- a/_source/plugins/dialogadvtab/plugin.js +++ b/_source/plugins/dialogadvtab/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -136,7 +136,7 @@ CKEDITOR.plugins.add( 'dialogadvtab', getStyle : function( name, defaultValue ) { - var match = this.getValue().match( new RegExp( name + '\\s*:\s*([^;]*)', 'i') ); + var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i') ); return match ? match[ 1 ] : defaultValue; }, @@ -159,7 +159,7 @@ CKEDITOR.plugins.add( 'dialogadvtab', styles += name + ': ' + value; } - this.setValue( styles, true ); + this.setValue( styles, 1 ); },