|
|
@ -1151,7 +1151,9 @@ ItemSet.prototype._onDragEnd = function (event) { |
|
|
|
me = this, |
|
|
|
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, |
|
|
|
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)
|
|
|
|
if (changes.length) { |
|
|
|