Author: artdaw
Date: 2011-03-12 07:58:29 -0500 (Sat, 12 Mar 2011)
New Revision: 22178
Modified:
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
Log:
RF-10231: fixed JS exception with removing DOM element. Verified by Alex Kolonitsky.
Modified:
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
===================================================================
---
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2011-03-12
10:02:45 UTC (rev 22177)
+++
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2011-03-12
12:58:29 UTC (rev 22178)
@@ -175,12 +175,9 @@
this.borders = null;
if (this.domReattached) {
- var element = this.div;
- var parent = element.parent();
- if (parent) {
- parent.remove(element);
- }
+ this.div.remove();
}
+
this.markerId = null;
this.options = null;
Show replies by date