Author: pyaschenko
Date: 2010-12-03 11:30:40 -0500 (Fri, 03 Dec 2010)
New Revision: 20368
Modified:
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js
Log:
http://jira.jboss.com/jira/browse/RF-9858
Modified:
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js
===================================================================
---
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js 2010-12-03
16:30:19 UTC (rev 20367)
+++
trunk/core/impl/src/main/resources/META-INF/resources/richfaces-base-component.js 2010-12-03
16:30:40 UTC (rev 20368)
@@ -244,7 +244,7 @@
detach: function(source) {
source = source || this.id;
var element = richfaces.getDomElement(source);
- element && element.richfaces && (element.richfaces.component=null);
+ element && element[richfaces.RICH_CONTAINER] &&
(element[richfaces.RICH_CONTAINER].component=null);
},
/** TODO: add jsdocs and qunit tests