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

http://bugzserver/show_bug.cgi?id=27692 - [Copy&Paste] Js ошиба при вставке...

http://bugzserver/show_bug.cgi?id=27692 -  [Copy&Paste] Js ошиба при вставке текста в заголовок диаграмм из вне 

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59793 954022d7-b5bf-4e40-9824-e11837661b57
parent c4341501
...@@ -5884,7 +5884,7 @@ PasteProcessor.prototype = ...@@ -5884,7 +5884,7 @@ PasteProcessor.prototype =
} }
//проставляем rStyle //проставляем rStyle
if(oHyperlink.Content && oHyperlink.Content.length) if(oHyperlink.Content && oHyperlink.Content.length && oHyperlink.Paragraph.bFromDocument)
{ {
if(this.oLogicDocument && this.oLogicDocument.Styles && this.oLogicDocument.Styles.Default && this.oLogicDocument.Styles.Default.Hyperlink && this.oLogicDocument.Styles.Style) if(this.oLogicDocument && this.oLogicDocument.Styles && this.oLogicDocument.Styles.Default && this.oLogicDocument.Styles.Default.Hyperlink && this.oLogicDocument.Styles.Style)
{ {
...@@ -6786,6 +6786,8 @@ function Editor_CopyPaste_Create(api) ...@@ -6786,6 +6786,8 @@ function Editor_CopyPaste_Create(api)
if (!window.GlobalPasteFlag) if (!window.GlobalPasteFlag)
return; return;
console.log("onpaste");
// тут onpaste не обрубаем, так как он в сафари под macos приходить должен // тут onpaste не обрубаем, так как он в сафари под macos приходить должен
if (window.GlobalPasteFlagCounter == 1) if (window.GlobalPasteFlagCounter == 1)
{ {
......
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