[DE] Show comment on start

This commit is contained in:
Julia Radzhabova 2019-04-24 16:31:29 +03:00
parent 9c2d78d589
commit bb8e4f5f7f

View file

@ -1010,6 +1010,10 @@ define([
me.api.UpdateInterfaceState();
me.fillTextArt(me.api.asc_getTextArtPreviews());
if (me.editorConfig.actionLink && me.editorConfig.actionLink.action && me.editorConfig.actionLink.action.type == 'comment') {
me.contComments.getView().fireEvent('comment:show', [me.editorConfig.actionLink.action.data, false]);
}
Common.NotificationCenter.trigger('document:ready', 'main');
me.applyLicense();
}