From 83859f9c869ddb8668bd76f1855288471a033a4a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 10 Feb 2011 17:53:26 +0800 Subject: [PATCH] docs/symbols/src/Roo_Element.js.html --- docs/symbols/src/Roo_Element.js.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/symbols/src/Roo_Element.js.html b/docs/symbols/src/Roo_Element.js.html index b3f1941013..b4dcae2c98 100644 --- a/docs/symbols/src/Roo_Element.js.html +++ b/docs/symbols/src/Roo_Element.js.html @@ -1135,7 +1135,9 @@ if(opt.anim.isAnimated()){ * @param {Object} options (optional)An object with standard {@link Roo.EventManager#addListener} options */ addListener : function(eventName, fn, scope, options){ - Roo.EventManager.on(this.dom, eventName, fn, scope || this, options); + if (this.dom) { + Roo.EventManager.on(this.dom, eventName, fn, scope || this, options); + } }, /** -- 2.39.2