From b8ecc04c352f9bbe0d4777ec3829a484fd99a41e Mon Sep 17 00:00:00 2001 From: Julia Svinareva Date: Fri, 20 Mar 2020 10:22:18 +0300 Subject: [PATCH] [SSE] Fix disable tabs when insert format table --- apps/common/main/lib/component/TabBar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/TabBar.js b/apps/common/main/lib/component/TabBar.js index 7232697c8..81b282e7e 100644 --- a/apps/common/main/lib/component/TabBar.js +++ b/apps/common/main/lib/component/TabBar.js @@ -244,7 +244,8 @@ define([ lockDrag = true; } this.bar.$el.find('ul > li > span').attr('draggable', !lockDrag); - tab.changeState(); + if (!lockDrag) + tab.changeState(); } else { this.bar.$el.find('ul > li > span').attr('draggable', 'false'); }