[richfaces-issues] [JBoss JIRA] Created: (RF-8142) multiple inclusion of dnd.js Script (e.g. using rich tree in page after extended data table) leads to nonfunctioning drag and drob in table
Andreas Schank (JIRA)
jira-events at lists.jboss.org
Mon Nov 16 06:55:29 EST 2009
multiple inclusion of dnd.js Script (e.g. using rich tree in page after extended data table) leads to nonfunctioning drag and drob in table
-------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-8142
URL: https://jira.jboss.org/jira/browse/RF-8142
Project: RichFaces
Issue Type: Bug
Components: component-a4j-core, component-tables, component-tree
Affects Versions: 3.3.2.SR1
Environment: IE8,FF, Jboss 5.1.0.GA, Liferay 5.2.3, JBoss portlet bridge 1.0.0.CR2
Reporter: Andreas Schank
when in a portlet environment a tree is included in a portlet after a portlet including a extended data table the drag and drop feature in the table (e.g. reordering headers) ceases to function.
This is caused by overwriting the DnD object in dnd.js.
Existing handlers (like the DnD handlers of the table) will be deleted and thus cease to funcion after first use.
Uncommenting the line "if(!window.DnD){" seems to solve the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list