Author: artdaw
Date: 2009-03-20 08:17:00 -0400 (Fri, 20 Mar 2009)
New Revision: 13054
Modified:
trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx
Log:
colorPicker: bug with empty value was fixed
Modified: trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx
===================================================================
--- trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx 2009-03-20
11:13:11 UTC (rev 13053)
+++ trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx 2009-03-20
12:17:00 UTC (rev 13054)
@@ -117,7 +117,7 @@
showEvent = (String) component.getAttributes().get("showEvent");
value = (String) component.getAttributes().get("value");
- if (value == null || value == ""){
+ if (value == null || value.length() == 0){
value = "#ffffff";
}