Compare commits

...

1 commit

Author SHA1 Message Date
JuliaSvinareva 1dfa0573a5 [SSE] Bug 45992 2020-08-06 15:18:42 +03:00

View file

@ -206,9 +206,17 @@ define([
return this._dragEl[0];
},
onDragEnd: function() {
onDragEnd: function(event) {
this._dragEl && this._dragEl.remove();
this._dragEl = null;
if (event && event.originalEvent.dataTransfer.dropEffect === "none") {
if (this.fromListView === 'pivot-list-values' && _.isNumber(this.itemIndex)) {
this.onRemove(this.pivotIndex, this.itemIndex);
} else {
this.onRemove(this.pivotIndex);
}
}
},
onFieldsDragStart: function (item, index, event) {