JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.3.2
[ckeditor.git] / _source / plugins / forms / dialogs / textfield.js
index d54cb28..a2a4d3d 100644 (file)
@@ -147,7 +147,13 @@ CKEDITOR.dialog.add( 'textfield', function( editor )
                                                                style : 'width:50px',\r
                                                                validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed )\r
                                                        }\r
-                                               ]\r
+                                               ],\r
+                                               onLoad : function()\r
+                                               {\r
+                                                       // Repaint the style for IE7 (#6068)\r
+                                                       if ( CKEDITOR.env.ie7Compat )\r
+                                                               this.getElement().setStyle( 'zoom', '100%' );\r
+                                               }\r
                                        },\r
                                        {\r
                                                id : 'type',\r