|
@ -1151,7 +1151,9 @@ ItemSet.prototype._onDragEnd = function (event) { |
|
|
me = this, |
|
|
me = this, |
|
|
dataset = this.itemsData.getDataSet(); |
|
|
dataset = this.itemsData.getDataSet(); |
|
|
|
|
|
|
|
|
this.touchParams.itemProps.forEach(function (props) { |
|
|
|
|
|
|
|
|
var itemProps = this.touchParams.itemProps ; |
|
|
|
|
|
this.touchParams.itemProps = null; |
|
|
|
|
|
itemProps.forEach(function (props) { |
|
|
var id = props.item.id, |
|
|
var id = props.item.id, |
|
|
itemData = me.itemsData.get(id, me.itemOptions); |
|
|
itemData = me.itemsData.get(id, me.itemOptions); |
|
|
|
|
|
|
|
@ -1190,7 +1192,6 @@ ItemSet.prototype._onDragEnd = function (event) { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
this.touchParams.itemProps = null; |
|
|
|
|
|
|
|
|
|
|
|
// apply the changes to the data (if there are changes)
|
|
|
// apply the changes to the data (if there are changes)
|
|
|
if (changes.length) { |
|
|
if (changes.length) { |
|
|