|
@ -1342,6 +1342,12 @@ ItemSet.prototype._onDragStart = function (event) { |
|
|
this.touchParams.itemProps = [props]; |
|
|
this.touchParams.itemProps = [props]; |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
|
|
|
if(this.groupIds.length < 1) { |
|
|
|
|
|
// Mitigates a race condition if _onDragStart() is
|
|
|
|
|
|
// called after markDirty() without redraw() being called between.
|
|
|
|
|
|
this.redraw(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var baseGroupIndex = this._getGroupIndex(item.data.group); |
|
|
var baseGroupIndex = this._getGroupIndex(item.data.group); |
|
|
|
|
|
|
|
|
var itemsToDrag = (this.options.itemsAlwaysDraggable.item && !item.selected) ? [item.id] : this.getSelection(); |
|
|
var itemsToDrag = (this.options.itemsAlwaysDraggable.item && !item.selected) ? [item.id] : this.getSelection(); |
|
|