[PE] Fix Bug 35580.

This commit is contained in:
Julia Radzhabova 2017-08-14 12:01:13 +03:00
parent 2418ccb312
commit 5105efaf4b

View file

@ -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);
});