From e3e32fed9103f1cce96ec79d277fee2b70b0c4db Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 9 Aug 2017 13:40:46 +0300 Subject: [PATCH] [DE] Fix Bug 35557. --- apps/documenteditor/main/app/controller/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 5212e68635..f7f1496e16 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -552,7 +552,7 @@ define([ toolbarView = toolbarController.getView(); if (this.appOptions.isEdit && toolbarView && (toolbarView.btnInsertShape.pressed || toolbarView.btnInsertText.pressed) && - ( !_.isObject(arguments[1]) || arguments[1].id !== 'tlb-btn-insshape')) { // TODO: Event from api is needed to clear btnInsertShape state + ( !_.isObject(arguments[1]) || arguments[1].id !== 'tlbtn-insertshape')) { // TODO: Event from api is needed to clear btnInsertShape state if (this.api) this.api.StartAddShape('', false);