From 4bdfcb59c9bf03acd9c3809e90487465318a581d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 9 Dec 2019 15:41:09 +0300 Subject: [PATCH] [PE] Fix Bug 43813 --- apps/presentationeditor/main/app/view/Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,