roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 09:14:24 +0000 (17:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 09:14:24 +0000 (17:14 +0800)
roojs-debug.js

index 1947bcc..348b607 100644 (file)
@@ -14445,12 +14445,7 @@ Roo.dd.DragDrop = function(id, sGroup, config) {
     if (id) {
         this.init(id, sGroup, config);
     }
-    if (config.listeners || config.events) { 
-        Roo.BasicLayoutRegion.superclass.constructor.call(this,  { 
-            listeners : config.listeners || {}, 
-            events : config.events || {} 
-        });    
-    }
+    
 };
 
 Roo.extend(Roo.dd.DragDrop, Roo.util.Observable , {
@@ -17379,6 +17374,12 @@ Roo.dd.DDTarget = function(id, sGroup, config) {
     if (id) {
         this.initTarget(id, sGroup, config);
     }
+    if (config.listeners || config.events) { 
+       Roo.dd.DragDrop.superclass.constructor.call(this,  { 
+            listeners : config.listeners || {}, 
+            events : config.events || {} 
+        });    
+    }
 };
 
 // Roo.dd.DDTarget.prototype = new Roo.dd.DragDrop();