[richfaces-svn-commits] JBoss Rich Faces SVN: r4504 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Dec 5 11:05:21 EST 2007


Author: pyaschenko
Date: 2007-12-05 11:05:20 -0500 (Wed, 05 Dec 2007)
New Revision: 4504

Modified:
   trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1494 small changes


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-12-05 16:04:23 UTC (rev 4503)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js	2007-12-05 16:05:20 UTC (rev 4504)
@@ -842,7 +842,8 @@
 	},
 	
 	doExpand: function(e) {
-		if (e) this.skipEventOnCollapse = true;
+		this.skipEventOnCollapse = false;
+		if (e && e.type=='click') this.skipEventOnCollapse = true;
 		if (!this.params.popup || this.isVisible) return;
 		
 		var element = $(this.id);




More information about the richfaces-svn-commits mailing list