diff --git a/apps/presentationeditor/main/app/view/DocumentHolder.js b/apps/presentationeditor/main/app/view/DocumentHolder.js index 0cd28182e..2a024dd7a 100644 --- a/apps/presentationeditor/main/app/view/DocumentHolder.js +++ b/apps/presentationeditor/main/app/view/DocumentHolder.js @@ -1768,7 +1768,7 @@ define([ var mnuPreview = new Common.UI.MenuItem({ caption : me.txtPreview }).on('click', function(item) { - var current = this.api.getCurrentPage(); + var current = me.api.getCurrentPage(); Common.NotificationCenter.trigger('preview:start', _.isNumber(current) ? current : 0); });