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