JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1
[ckeditor.git] / _source / plugins / forms / dialogs / textfield.js
index 8c6138f..d54cb28 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 CKEDITOR.dialog.add( 'textfield', function( editor )\r
@@ -179,7 +179,7 @@ CKEDITOR.dialog.add( 'textfield', function( editor )
                                                                        element.copyAttributes( replace, { type : 1 } );\r
                                                                        replace.replace( element );\r
                                                                        editor.getSelection().selectElement( replace );\r
-                                                                       data.element = element;\r
+                                                                       data.element = replace;\r
                                                                }\r
                                                        }\r
                                                        else\r