Roo/grid/GridDragZone.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 18 Nov 2012 06:50:31 +0000 (14:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 18 Nov 2012 06:50:31 +0000 (14:50 +0800)
Roo/grid/GridDragZone.js

index ef8c29f..ed8d74d 100644 (file)
@@ -45,7 +45,7 @@ Roo.extend(Roo.grid.GridDragZone, Roo.dd.DragZone, {
                 grid: this.grid,
                 ddel: this.ddel,
                 rowIndex: rowIndex,
-                selections:sm.getSelections()
+                selections:sm.getSelections ? sm.getSelections() : [ grid.ds.getAt(sm.getSelectedCell()[0]) ]
             };
         }
         return false;