builder.html.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 08:21:25 +0000 (16:21 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 08:21:25 +0000 (16:21 +0800)
builder.html.js

index 4fe8b45..82ae7f0 100644 (file)
@@ -175,7 +175,8 @@ Builder  = {
         }
         
         // we can overlay some event handlers here..
-        
+        cfg.listeners = cfg.listeners || {};
+           
         console.log('xtype'  + xtype)
         switch(xtype) {
             case 'Roo.LayoutDialog':