Roo/grid/GridDragZone.js
authorAlan Knowles <alan@roojs.com>
Wed, 17 Mar 2021 08:26:26 +0000 (16:26 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Mar 2021 08:26:26 +0000 (16:26 +0800)
Roo/grid/GridDragZone.js

index c62baab..e700977 100644 (file)
@@ -49,7 +49,7 @@ Roo.extend(Roo.grid.GridDragZone, Roo.dd.DragZone, {
                     sm.getSelectedCell() ? [ this.grid.ds.getAt(sm.getSelectedCell()[0]) ] : []);
         
         // before it used to all dragging of unseleted... - now we dont do that.
-        if(sels){
+        if(sels || sels.length){
             
             // if editorgrid..