Commit bff12ae8 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=28197 - Вставляется пустая Text Area при...

http://bugzserver/show_bug.cgi?id=28197 - Вставляется пустая Text Area при вставке через Top Toolbar вырезанной Text Area

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61023 954022d7-b5bf-4e40-9824-e11837661b57
parent 65324480
......@@ -2326,7 +2326,7 @@ function Editor_Paste_Button(api)
else
{
var ElemToSelect = document.getElementById( COPY_ELEMENT_ID );
if(ElemToSelect)
if(ElemToSelect && ElemToSelect.innerHTML !== " " && ElemToSelect.innerHTML !== "")
{
History.Create_NewPoint();
editor.waitSave = true;
......@@ -4241,7 +4241,9 @@ PasteProcessor.prototype =
this.oRootNode = node;
this._Prepeare(node,
function(){
oThis.aContent = [];
/*if(node.innerHTML == " ")
return;*/
oThis.aContent = [];
//�� ����� ���������� �������� ��� ������� ��������� �������
var arrShapes = [], arrImages = [], arrTables = [];
var presentation = editor.WordControl.m_oLogicDocument;
......
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