From 96d1c92957faa9d6987c4a610e1d5874a132a39f Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 6 Apr 2021 12:40:01 +0300 Subject: [PATCH] [SSE] Fix drag and drop of pivot table fields --- apps/spreadsheeteditor/main/app/view/PivotSettings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/PivotSettings.js b/apps/spreadsheeteditor/main/app/view/PivotSettings.js index fabddb861..aac363f90 100644 --- a/apps/spreadsheeteditor/main/app/view/PivotSettings.js +++ b/apps/spreadsheeteditor/main/app/view/PivotSettings.js @@ -214,7 +214,7 @@ define([ onFieldsDragStart: function (item, index, event) { this._state.field = {record: item.model}; event.originalEvent.dataTransfer.effectAllowed = 'move'; - event.originalEvent.dataTransfer.setDragImage(this.getDragElement(item.model.get('value')), 14, 14); + !Common.Utils.isIE && event.originalEvent.dataTransfer.setDragImage(this.getDragElement(item.model.get('value')), 14, 14); this.pivotIndex = index; this.fromListView = this.fieldsList.$el[0].id; }, @@ -222,7 +222,7 @@ define([ onItemsDragStart: function (type, listview, item, index, event) { this._state.field = {record: item.model, type: type}; event.originalEvent.dataTransfer.effectAllowed = 'move'; - event.originalEvent.dataTransfer.setDragImage(this.getDragElement(item.model.get('value')), 14, 14); + !Common.Utils.isIE && event.originalEvent.dataTransfer.setDragImage(this.getDragElement(item.model.get('value')), 14, 14); this.itemIndex = index; this.pivotIndex = listview.store.at(index).attributes.pivotIndex; this.fromListView = listview.$el[0].id;