Commit f0006048 authored by GoshaZotov's avatar GoshaZotov

add check for fix bug: length_of_null_pasteTextOnSheet

parent 97718524
......@@ -2608,6 +2608,12 @@
pasteTextOnSheet: function(worksheet, text)
{
if(!text || (text && !text.length))
{
AscCommonExcel.g_clipboardExcel.end_paste();
return;
}
//TODO сделать вставку текста всегда через эту функцию
this.activeRange = worksheet.model.selectionRange.getLast().clone(true);
......
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