JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1.1
[ckeditor.git] / _source / plugins / dialogui / plugin.js
index 4ed3da2..b6cd10c 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
@@ -955,7 +955,7 @@ CKEDITOR.plugins.add( 'dialogui' );
                                 */\r
                                setValue : function( value )\r
                                {\r
-                                       value = value || '';\r
+                                       !value && ( value = '' );\r
                                        return CKEDITOR.ui.dialog.uiElement.prototype.setValue.call( this, value );\r
                                },\r
 \r