Author: pyaschenko
Date: 2007-10-17 09:03:16 -0400 (Wed, 17 Oct 2007)
New Revision: 3425
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1135
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
---
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-10-17
12:04:43 UTC (rev 3424)
+++
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-10-17
13:03:16 UTC (rev 3425)
@@ -1259,8 +1259,11 @@
}
var e = $(this.todayCellId);
e.style['backgroundColor'] = '';
- this.highlightEffect = new Effect.Highlight(e, {startcolor: this.todayCellColor,
duration:0.3, transition: Effect.Transitions.sinoidal,
- afterFinish: this.onHighlightFinish});
+ if (this.todayCellColor!="transparent")
+ {
+ this.highlightEffect = new Effect.Highlight(e, {startcolor: this.todayCellColor,
duration:0.3, transition: Effect.Transitions.sinoidal,
+ afterFinish: this.onHighlightFinish});
+ }
}
}
},