Merge branch 'main' into staging

pull/1/head
yflory 2021-11-05 14:31:01 +01:00
commit 0b4935865b
1 changed files with 1 additions and 1 deletions

View File

@ -1654,7 +1654,7 @@ define([
if (app === 'doc') {
d = getEditor().GetDocument();
hasChart = d.GetAllCharts().length || d.Document.Content.some(function (obj) {
return obj instanceof AscCommonWord.CTable;
return obj instanceof getWindow().AscCommonWord.CTable;
});
if (hasChart) { Feedback.send('OO_DOC_CHART', true); }
} else if (app === 'presentation') {