[richfaces-svn-commits] JBoss Rich Faces SVN: r16015 - branches/community/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Nov 26 13:14:16 EST 2009


Author: Alex.Kolonitsky
Date: 2009-11-26 13:14:16 -0500 (Thu, 26 Nov 2009)
New Revision: 16015

Modified:
   branches/community/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
Log:
fix photoalbum tests

Modified: branches/community/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
===================================================================
--- branches/community/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js	2009-11-26 17:54:50 UTC (rev 16014)
+++ branches/community/3.3.X/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js	2009-11-26 18:14:16 UTC (rev 16015)
@@ -48,7 +48,7 @@
 	},
 	
 	enableDefaultContextMenu: function () {
-		if (this.eventName == "contextmenu" && this.attachedToElementIds.length) {
+		if (this.eventName == "contextmenu" && this.attachedToElementId) {
 			var element = $(this.attachedToElementId);
 			if (!element && this.attachedToParent) {
 				element = this.element;



More information about the richfaces-svn-commits mailing list