JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / plugins / table / dialogs / table.js
index c6f8a05..7cb2708 100644 (file)
@@ -604,8 +604,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                                if ( nodeList.count() > 0 )\r
                                                                                {\r
                                                                                        var caption = nodeList.getItem( 0 );\r
-                                                                                       caption = ( caption.getChild( 0 ) && caption.getChild( 0 ).getText() ) || '';\r
-                                                                                       caption = CKEDITOR.tools.trim( caption );\r
+                                                                                       caption = CKEDITOR.tools.trim( caption.getText() );\r
                                                                                        this.setValue( caption );\r
                                                                                }\r
                                                                        },\r