[PE] send document info on start demonstration

This commit is contained in:
Maxim Kadushkin 2017-07-20 14:34:13 +03:00
parent 1e984d45e1
commit 3dbf09f803

View file

@ -809,7 +809,7 @@ define([
if (isResized) return;
isResized = true;
Common.NotificationCenter.off('window:resize', onWindowResize);
me.api.StartDemonstration('presentation-preview', _.isNumber(slidenum) ? slidenum : 0);
me.api.StartDemonstration('presentation-preview', _.isNumber(slidenum) ? slidenum : 0, PE.getController('Main').document);
Common.component.Analytics.trackEvent('ToolBar', 'Preview');
};
if (!me.toolbar.mode.isDesktopApp && !Common.Utils.isIE11) {