X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_grid_GridDragZone.js.html;h=ce7680fa34cf581c8e0ace7b5dfa85f2b123a311;hp=bc8fbd46f24129b414cecda3406bd4e815407165;hb=ce99697290d5986b18eb3b27e580b33408281696;hpb=d0b79e9bda4e08f7240e8c824bfc643d4f16b78e diff --git a/docs/src/Roo_grid_GridDragZone.js.html b/docs/src/Roo_grid_GridDragZone.js.html index bc8fbd46f2..ce7680fa34 100644 --- a/docs/src/Roo_grid_GridDragZone.js.html +++ b/docs/src/Roo_grid_GridDragZone.js.html @@ -44,7 +44,12 @@ } } + if (sm.getSelections && sm.getSelections().length < 1) { + return false; + } + + // before it used to all dragging of unseleted... - now we dont do that. if(rowIndex !== false){ // if editorgrid.. @@ -65,14 +70,14 @@ grid: this.grid, ddel: this.ddel, rowIndex: rowIndex, - selections:sm.getSelections ? sm.getSelections() : ( - sm.getSelectedCell() ? [ this.grid.ds.getAt(sm.getSelectedCell()[0]) ] : [] - ) + selections: sm.getSelections ? sm.getSelections() : ( + sm.getSelectedCell() ? [ this.grid.ds.getAt(sm.getSelectedCell()[0]) ] : []) }; } return false; }, + onInitDrag : function(e){ var data = this.dragData; this.ddel.innerHTML = this.grid.getDragDropText();