[PE] Fix focus in add slide menu
This commit is contained in:
parent
84c0740762
commit
82aa0963ed
|
@ -1735,6 +1735,7 @@ define([
|
||||||
var picker = new Common.UI.DataView({
|
var picker = new Common.UI.DataView({
|
||||||
el: $('.menu-layouts', menu.$el),
|
el: $('.menu-layouts', menu.$el),
|
||||||
parentMenu: menu,
|
parentMenu: menu,
|
||||||
|
outerMenu: !change ? {menu: menu, index: 0} : undefined,
|
||||||
showLast: change,
|
showLast: change,
|
||||||
restoreHeight: 300,
|
restoreHeight: 300,
|
||||||
restoreWidth: 302,
|
restoreWidth: 302,
|
||||||
|
@ -1766,6 +1767,7 @@ define([
|
||||||
} else
|
} else
|
||||||
picker.scroller.scrollTop(0);
|
picker.scroller.scrollTop(0);
|
||||||
});
|
});
|
||||||
|
!change && menu.setInnerMenu([{menu: picker, index: 0}]);
|
||||||
}
|
}
|
||||||
menu.off('show:before', me.binding.onShowBeforeAddSlide);
|
menu.off('show:before', me.binding.onShowBeforeAddSlide);
|
||||||
if (change && this.mnuSlidePicker)
|
if (change && this.mnuSlidePicker)
|
||||||
|
|
Loading…
Reference in a new issue