Commit 6326e62f authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

FullScreenMode in demonstration (desktop)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62957 954022d7-b5bf-4e40-9824-e11837661b57
parent 0cdfbdda
......@@ -2816,6 +2816,9 @@ function CDemonstrationManager(htmlpage)
if (this.DemonstrationDiv == null || start_slide_num < 0 || start_slide_num >= this.SlidesCount)
return;
if (undefined !== window["AscDesktopEditor"])
window["AscDesktopEditor"]["SetFullscreen"](true);
this.MainDivId = main_div_id;
var _width = this.DemonstrationDiv.clientWidth;
var _height = this.DemonstrationDiv.clientHeight;
......@@ -3037,6 +3040,9 @@ function CDemonstrationManager(htmlpage)
this.End = function()
{
if (undefined !== window["AscDesktopEditor"])
window["AscDesktopEditor"]["SetFullscreen"](false);
if (!this.Mode)
return;
......
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