Commit 3d2c203e authored by Oleg Korshul's avatar Oleg Korshul

fix bug 35665

parent 60023657
......@@ -2965,6 +2965,8 @@ function CDemonstrationManager(htmlpage)
this.StartSlide = function(is_transition_use, is_first_play)
{
oThis.HtmlPage.m_oApi.canSave = false;
oThis.StopTransition();
if (oThis.SlideNum == oThis.SlidesCount)
......@@ -3155,6 +3157,8 @@ function CDemonstrationManager(htmlpage)
this.End = function(isNoUseFullScreen)
{
this.HtmlPage.m_oApi.canSave = true;
this.PointerRemove();
if (this.waitReporterObject)
{
......
......@@ -1952,7 +1952,7 @@ background-repeat: no-repeat;\
}
};
asc_docs_api.prototype._autoSave = function () {
if ((this.canUnlockDocument || this.autoSaveGap != 0) && !this.isViewMode) {
if ((this.canUnlockDocument || this.autoSaveGap != 0) && !this.isViewMode && this.canSave) {
var _curTime = new Date().getTime();
if (-1 === this.lastSaveTime) {
this.lastSaveTime = _curTime;
......
......@@ -2317,7 +2317,7 @@ background-repeat: no-repeat;\
}
};
asc_docs_api.prototype._autoSave = function () {
if ((this.canUnlockDocument || this.autoSaveGap != 0) && !this.isViewMode) {
if ((this.canUnlockDocument || this.autoSaveGap != 0) && !this.isViewMode && this.canSave) {
var _curTime = new Date().getTime();
if (-1 === this.lastSaveTime) {
this.lastSaveTime = _curTime;
......
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