From: Alan Knowles Date: Sun, 18 Nov 2012 07:03:30 +0000 (+0800) Subject: Roo/grid/GridDragZone.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=78c0904038870d828a169378e4aa72b69be09355;p=roojs1 Roo/grid/GridDragZone.js --- diff --git a/Roo/grid/GridDragZone.js b/Roo/grid/GridDragZone.js index 989682caea..db07bdc712 100644 --- a/Roo/grid/GridDragZone.js +++ b/Roo/grid/GridDragZone.js @@ -34,9 +34,9 @@ Roo.extend(Roo.grid.GridDragZone, Roo.dd.DragZone, { var sm = this.grid.selModel; // if editorgrid.. - if (sm.getSelectedCell && !sm.getSelectedCell()) { + if (sm.getSelectedCell && (!sm.getSelectedCell() || (sm.getSelectedCell()[0] == rowIndex) ) { return; - } + } //if(!sm.isSelected(rowIndex) || e.hasModifier()){ //