[richfaces-svn-commits] JBoss Rich Faces SVN: r5712 - branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Tue Jan 29 13:50:41 EST 2008
Author: nbelaevski
Date: 2008-01-29 13:50:41 -0500 (Tue, 29 Jan 2008)
New Revision: 5712
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
Log:
http://jira.jboss.com/jira/browse/RF-2108
Modified: branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-29 18:20:03 UTC (rev 5711)
+++ branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-29 18:50:41 UTC (rev 5712)
@@ -206,9 +206,10 @@
tableUpdate : function(component) {
var table = component.shuttleTable;
- table.removeChild(table.tBodies[0]);
- var tbody = document.createElement("tbody");
- table.appendChild(tbody);
+ var tbody = table.tBodies[0];
+ var newTbody = tbody.cloneNode(false);
+ table.removeChild(tbody);
+ table.appendChild(newTbody);
component.shuttleTbody = table.tBodies[0];
},
More information about the richfaces-svn-commits
mailing list