From d13f0ac0b083fac2ccff4587cff32f2c79e5f6e6 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 3 Nov 2016 15:00:48 +0300 Subject: [PATCH] [SSE] Don't show tab context menu when server is disconnected. --- apps/spreadsheeteditor/main/app/view/Statusbar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/Statusbar.js b/apps/spreadsheeteditor/main/app/view/Statusbar.js index d4060a3de..044e28033 100644 --- a/apps/spreadsheeteditor/main/app/view/Statusbar.js +++ b/apps/spreadsheeteditor/main/app/view/Statusbar.js @@ -501,7 +501,8 @@ define([ onTabMenu: function (o, index, tab) { if (this.mode.isEdit && !this.isEditFormula && (this.rangeSelectionMode !== Asc.c_oAscSelectionDialogType.Chart) && - (this.rangeSelectionMode !== Asc.c_oAscSelectionDialogType.FormatTable)) { + (this.rangeSelectionMode !== Asc.c_oAscSelectionDialogType.FormatTable) && + !this.mode.isDisconnected ) { if (tab && tab.sheetindex >= 0) { var rect = tab.$el.get(0).getBoundingClientRect(), childPos = tab.$el.offset(),