JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1
[ckeditor.git] / _source / plugins / richcombo / plugin.js
index f76db46..e93a351 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
 \r
@@ -283,7 +283,7 @@ CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass(
 \r
                        var textElement = this.document.getById( 'cke_' + this.id + '_text' );\r
 \r
-                       if ( !value )\r
+                       if ( !( value || text ) )\r
                        {\r
                                text = this.label;\r
                                textElement.addClass( 'cke_inline_label' );\r