From 92e153b54af6f6408f15ffed3514c3b292072144 Mon Sep 17 00:00:00 2001 From: Julia Svinareva Date: Tue, 18 Feb 2020 17:32:52 +0300 Subject: [PATCH] [SSE] Move sheet: drag and drop (custom type) --- apps/spreadsheeteditor/main/app/view/Statusbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/Statusbar.js b/apps/spreadsheeteditor/main/app/view/Statusbar.js index 04280b006..2ebc4e4e5 100644 --- a/apps/spreadsheeteditor/main/app/view/Statusbar.js +++ b/apps/spreadsheeteditor/main/app/view/Statusbar.js @@ -231,11 +231,11 @@ define([ arr.push({type: 'names', value: arrName}); arr.push({type: 'key', value: Common.Utils.InternalSettings.get("sse-doc-info-key")}); var json = JSON.stringify(arr); - dataTransfer.setData("text/plain", json); + dataTransfer.setData("onlyoffice", json); this.dropTabs = selectTabs; }, this), 'tab:drop': _.bind(function (dataTransfer, index) { - var data = dataTransfer.getData("text/plain"); + var data = dataTransfer.getData("onlyoffice"); if (data) { var arrData = JSON.parse(data); if (arrData[0].type === 'onlyoffice') {