Commit 54432cf7 authored by GoshaZotov's avatar GoshaZotov

fix bug 32948

parent 7b22fbfb
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
checkCopyToClipboard: function(ws, _clipboard, _formats) checkCopyToClipboard: function(ws, _clipboard, _formats)
{ {
var _data; var _data = null;
var activeRange = ws.getSelectedRange(); var activeRange = ws.getSelectedRange();
var wb = window["Asc"]["editor"].wb; var wb = window["Asc"]["editor"].wb;
...@@ -81,7 +81,11 @@ ...@@ -81,7 +81,11 @@
{ {
//only TEXT //only TEXT
var fragments = wb.cellEditor.copySelection(); var fragments = wb.cellEditor.copySelection();
if(null !== fragments)
{
_data = wb.cellEditor._getFragmentsText(fragments); _data = wb.cellEditor._getFragmentsText(fragments);
}
_clipboard.pushData(AscCommon.c_oAscClipboardDataFormat.Text, _data) _clipboard.pushData(AscCommon.c_oAscClipboardDataFormat.Text, _data)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment