[PE] Fix focus in add slide menu

This commit is contained in:
Julia Radzhabova 2021-09-23 00:12:38 +03:00
parent 84c0740762
commit 82aa0963ed

View file

@ -1735,6 +1735,7 @@ define([
var picker = new Common.UI.DataView({
el: $('.menu-layouts', menu.$el),
parentMenu: menu,
outerMenu: !change ? {menu: menu, index: 0} : undefined,
showLast: change,
restoreHeight: 300,
restoreWidth: 302,
@ -1766,6 +1767,7 @@ define([
} else
picker.scroller.scrollTop(0);
});
!change && menu.setInnerMenu([{menu: picker, index: 0}]);
}
menu.off('show:before', me.binding.onShowBeforeAddSlide);
if (change && this.mnuSlidePicker)