JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.1
[ckeditor.git] / _source / plugins / dialogadvtab / plugin.js
index 5feec9c..ad111ff 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -136,7 +136,7 @@ CKEDITOR.plugins.add( 'dialogadvtab',
 \r
                                                getStyle : function( name, defaultValue )\r
                                                {\r
-                                                       var match = this.getValue().match( new RegExp( name + '\\s*:\s*([^;]*)', 'i') );\r
+                                                       var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i') );\r
                                                        return match ? match[ 1 ] : defaultValue;\r
                                                },\r
 \r
@@ -159,7 +159,7 @@ CKEDITOR.plugins.add( 'dialogadvtab',
                                                                styles += name + ': ' + value;\r
                                                        }\r
 \r
-                                                       this.setValue( styles, true );\r
+                                                       this.setValue( styles, 1 );\r
 \r
                                                },\r
 \r