Merge branch 'main' into staging

pull/1/head
yflory 3 years ago
commit 0b4935865b

@ -1654,7 +1654,7 @@ define([
if (app === 'doc') { if (app === 'doc') {
d = getEditor().GetDocument(); d = getEditor().GetDocument();
hasChart = d.GetAllCharts().length || d.Document.Content.some(function (obj) { 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); } if (hasChart) { Feedback.send('OO_DOC_CHART', true); }
} else if (app === 'presentation') { } else if (app === 'presentation') {

Loading…
Cancel
Save