From ae3960ba0c9f96bdfe257d7c9d434b0cfbf68278 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Thu, 5 May 2022 17:37:25 +0300 Subject: [PATCH] [SSE] Fix bug 53571 --- .../main/app/controller/DocumentHolder.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index ea6890b19..0043c13f7 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -1786,6 +1786,8 @@ define([ event.preventDefault(); event.stopPropagation(); return false; + } else if (key == Common.UI.Keys.ESC && !this.tooltips.input_msg.isHidden && this.tooltips.input_msg.text) { + this.onInputMessage(); } } }, @@ -2726,6 +2728,15 @@ define([ }); inputtip.ref.show([-10000, -10000]); + + var $tip = inputtip.ref.getBSTip().$tip; + $tip.on('click', function () { + inputtip.ref.hide(); + inputtip.ref = undefined; + inputtip.text = ''; + inputtip.isHidden = true; + }); + inputtip.isHidden = false; }