Roo/ViewPanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 09:14:50 +0000 (17:14 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 09:14:50 +0000 (17:14 +0800)
Roo/ViewPanel.js

index c3c74ed..7bacc02 100644 (file)
@@ -131,11 +131,6 @@ Roo.extend(Roo.ViewPanel, Roo.grid.Grid, {
             this.footer.container = this.getView().getFooterPanel(true);
             this.footer = Roo.factory(this.footer, Roo);
         }
-        if (this.dropTarget && this.dropTarget.xtype) {
-            delete this.dropTarget.xtype;
-            this.dropTarget =  new Roo.dd.DropTarget(this.getView().mainBody, this.dropTarget);
-        }
-        
         
         this.rendered = true;
         this.fireEvent('render', this);