From: Alan Knowles Date: Sun, 18 Nov 2012 07:05:40 +0000 (+0800) Subject: Roo/grid/GridDragZone.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=73f87e488cbada46eac8a527b101f9b6f82762fa;p=roojs1 Roo/grid/GridDragZone.js --- diff --git a/Roo/grid/GridDragZone.js b/Roo/grid/GridDragZone.js index d020eb8422..a9662a6fb8 100644 --- a/Roo/grid/GridDragZone.js +++ b/Roo/grid/GridDragZone.js @@ -35,7 +35,7 @@ Roo.extend(Roo.grid.GridDragZone, Roo.dd.DragZone, { // if editorgrid.. if (sm.getSelectedCell && (!sm.getSelectedCell() || (sm.getSelectedCell()[0] == rowIndex) ) ) { - Roo.log([ sm.getSelectedCell()[0] , rowIndex ]); + Roo.log([ sm.getSelectedCell ? sm.getSelectedCell()[0] : 'NO' , rowIndex ]); return false; }