Commit e2e4cfa9 authored by Oleg Korshul's avatar Oleg Korshul

fix bug 32492

parent ff4081a2
...@@ -746,6 +746,8 @@ ...@@ -746,6 +746,8 @@
this._gui_editor_themes = null; this._gui_editor_themes = null;
this._gui_document_themes = null; this._gui_document_themes = null;
this.EndShowMessage = undefined;
if (window.editor == undefined) if (window.editor == undefined)
{ {
window.editor = this; window.editor = this;
...@@ -5701,6 +5703,11 @@ background-repeat: no-repeat;\ ...@@ -5701,6 +5703,11 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.DemonstrationPlay = function() asc_docs_api.prototype.DemonstrationPlay = function()
{ {
if (undefined !== this.EndShowMessage)
{
this.WordControl.DemonstrationManager.EndShowMessage = this.EndShowMessage;
this.EndShowMessage = undefined;
}
this.WordControl.DemonstrationManager.Play(); this.WordControl.DemonstrationManager.Play();
}; };
...@@ -5711,7 +5718,10 @@ background-repeat: no-repeat;\ ...@@ -5711,7 +5718,10 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.DemonstrationEndShowMessage = function(message) asc_docs_api.prototype.DemonstrationEndShowMessage = function(message)
{ {
this.WordControl.DemonstrationManager.EndShowMessage = message; if (!this.WordControl)
this.EndShowMessage = message;
else
this.WordControl.DemonstrationManager.EndShowMessage = message;
}; };
asc_docs_api.prototype.DemonstrationNextSlide = function() asc_docs_api.prototype.DemonstrationNextSlide = function()
......
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