/*\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
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