diff --git a/apps/presentationeditor/main/app/view/Toolbar.js b/apps/presentationeditor/main/app/view/Toolbar.js index ee7c56ce9..9b43161e4 100644 --- a/apps/presentationeditor/main/app/view/Toolbar.js +++ b/apps/presentationeditor/main/app/view/Toolbar.js @@ -1466,7 +1466,7 @@ define([ var me = this; if (!me.binding.onShowBeforeAddSlide) { me.binding.onShowBeforeAddSlide = function(menu) { - var change = (this.iconCls == 'btn-changeslide'); + var change = (this.iconCls.indexOf('btn-changeslide')>-1); var picker = new Common.UI.DataView({ el: $('.menu-layouts', menu.$el), parentMenu: menu,