Commit 55916132 authored by Alexey Golubev's avatar Alexey Golubev Committed by GitHub

Merge pull request #207 from ONLYOFFICE/feature/bug36133

fix Bug 36133
parents 1d8a9464 30fa79a2
......@@ -1637,7 +1637,7 @@ CPresentation.prototype =
}
}
}
for(i = 0; i < this.CurPage; ++i)
for(i = 0; i <= this.CurPage; ++i)
{
Id = this.Slides[i].Search_GetId(isNext, 0);
if(Id !== null)
......@@ -1743,7 +1743,7 @@ CPresentation.prototype =
return Id;
}
}
for(i = this.Slides.length - 1; i > this.CurPage; --i)
for(i = this.Slides.length - 1; i >= this.CurPage; --i)
{
if(this.Slides[i].notesShape){
Id = this.Slides[i].notesShape.Search_GetId(isNext, false);
......
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