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

ограничил вставку графики для Chart Editor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51139 954022d7-b5bf-4e40-9824-e11837661b57
parent bd2e5e1b
...@@ -1933,7 +1933,9 @@ ...@@ -1933,7 +1933,9 @@
else else
aResult.cellCount = Math.max.apply(Math, cellCountAll); aResult.cellCount = Math.max.apply(Math, cellCountAll);
aResult.rowSpanSpCount = rowSpanPlus; aResult.rowSpanSpCount = rowSpanPlus;
aResult.addImages = addImages; var api = window["Asc"]["editor"];
if(!api || (api && !api.isChartEditor))
aResult.addImages = addImages;
aResult.fontsNew = fontsNew; aResult.fontsNew = fontsNew;
worksheet.setSelectionInfo('paste',aResult,t); worksheet.setSelectionInfo('paste',aResult,t);
window.GlobalPasteFlagCounter = 0; window.GlobalPasteFlagCounter = 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