Commit 83e7206f authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Bug 22777 - Не изменяется поле Display ссылки при вставке ссылки через copy&paste

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56122 954022d7-b5bf-4e40-9824-e11837661b57
parent a3d0b56f
...@@ -2777,6 +2777,8 @@ PasteProcessor.prototype = ...@@ -2777,6 +2777,8 @@ PasteProcessor.prototype =
oInsertPar.Content.push(RRun); oInsertPar.Content.push(RRun);
bSplit = true; bSplit = true;
} }
else if(0 == oCurRunToSplit.State.ContentPos)
nCurContentContentPos--;
for(var i = 0, length = oInsertPar.Content.length; i < length; ++i){ for(var i = 0, length = oInsertPar.Content.length; i < length; ++i){
var run = oInsertPar.Content[i]; var run = oInsertPar.Content[i];
if(run.Content.length > 0){ if(run.Content.length > 0){
......
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