Author: bleathem
Date: 2014-01-27 17:09:06 -0500 (Mon, 27 Jan 2014)
New Revision: 23290
Modified:
branches/enterprise/3.3.1.SP4/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
RF-13516: Prevented the inplace* component from registering null event listeners
Modified:
branches/enterprise/3.3.1.SP4/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
---
branches/enterprise/3.3.1.SP4/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2014-01-25
04:57:09 UTC (rev 23289)
+++
branches/enterprise/3.3.1.SP4/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2014-01-27
22:09:06 UTC (rev 23290)
@@ -80,7 +80,7 @@
initEvents : function() {
for (var e in this.events) {
- if (e) {
+ if (e && this.events[e]) {
this.inplaceInput.observe("rich:" + e, this.events[e]);
}
}