[richfaces-svn-commits] JBoss Rich Faces SVN: r11857 - trunk/framework/impl/src/main/javascript/jquery.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Dec 17 14:23:40 EST 2008


Author: nbelaevski
Date: 2008-12-17 14:23:40 -0500 (Wed, 17 Dec 2008)
New Revision: 11857

Modified:
   trunk/framework/impl/src/main/javascript/jquery/jquery-1.2.6.js
   trunk/framework/impl/src/main/javascript/jquery/patches.js
Log:
https://jira.jboss.org/jira/browse/RF-5420

Modified: trunk/framework/impl/src/main/javascript/jquery/jquery-1.2.6.js
===================================================================
--- trunk/framework/impl/src/main/javascript/jquery/jquery-1.2.6.js	2008-12-17 18:36:55 UTC (rev 11856)
+++ trunk/framework/impl/src/main/javascript/jquery/jquery-1.2.6.js	2008-12-17 19:23:40 UTC (rev 11857)
@@ -601,7 +601,7 @@
 	return target;
 };
 
-var expando = "jQuery" + now(), uuid = 0, windowData = {},
+var expando = jQuery.expando = "jQuery" + now(), uuid = 0, windowData = {},
 	// exclude the following css properties to add px
 	exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
 	// cache defaultView

Modified: trunk/framework/impl/src/main/javascript/jquery/patches.js
===================================================================
--- trunk/framework/impl/src/main/javascript/jquery/patches.js	2008-12-17 18:36:55 UTC (rev 11856)
+++ trunk/framework/impl/src/main/javascript/jquery/patches.js	2008-12-17 19:23:40 UTC (rev 11857)
@@ -19,6 +19,7 @@
 		window.RichFaces.Memory.addCleaner("jquery", function(node, isAjax) {
 			if (node && node[oldJQuery.expando]) {
 				oldJQuery.event.remove(node);
+				oldJQuery.removeData(node);
 			}
 		});
 	}




More information about the richfaces-svn-commits mailing list