[
https://issues.jboss.org/browse/RF-10231?page=com.atlassian.jira.plugin.s...
]
Gleb Galkin commented on RF-10231:
----------------------------------
James, could you, please, check RichFaces Showcase locally, branch 4.0.X, since the bug is
fixed today (SVN r.22156) and RichFaces Live Demo on
http://richfaces-showcase.appspot.com
is SVN r.22066, so my changes are not applied yet.
PopupPanel destroy javascript method causes client side exception:
expr.replace is not a function
-------------------------------------------------------------------------------------------------
Key: RF-10231
URL:
https://issues.jboss.org/browse/RF-10231
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.0.0.Milestone5
Environment: myfaces 2.0.3, tomcat 6
Reporter: James G
Assignee: Gleb Galkin
Labels: popupPanel
Fix For: 4.0.0.Final
When the javascript method destroy on the popuppanel class is called, a javascript
exception occurs:
expr.replace is not a function
I believe the problem is the destroy method (popupPanel.js line 166)
if (this.domReattached) {
var element = this.div;
var parent = element.parent();
if (parent) {
parent.remove(element);
}
}
I believe the correct method would be parent.removeChild(element);
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira