[PE] Fix Bug 32497 (depends on 33002).

This commit is contained in:
Julia Radzhabova 2016-12-01 17:31:16 +03:00
parent c9e983d226
commit 433732a377

View file

@ -1323,11 +1323,10 @@ define([
};
var onApiCurrentPages = function(number) {
if (me.currentMenu && me.currentMenu.isVisible()) {
if (me._isFromSlideMenu !== true && me._isFromSlideMenu !== number)
me.currentMenu.hide();
me._isFromSlideMenu = number;
}
if (me.currentMenu && me.currentMenu.isVisible() && me._isFromSlideMenu !== true && me._isFromSlideMenu !== number)
me.currentMenu.hide();
me._isFromSlideMenu = number;
};
this.setApi = function(o) {