From 32b3aed97c5178b93b3cd62c70c9898272d6bd1c Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 16 Nov 2021 16:52:16 +0300 Subject: [PATCH] [DE PE SSE] Fix bug 53572 --- apps/common/main/lib/component/HintManager.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/HintManager.js b/apps/common/main/lib/component/HintManager.js index 3843c4416..1d51f6bd2 100644 --- a/apps/common/main/lib/component/HintManager.js +++ b/apps/common/main/lib/component/HintManager.js @@ -455,13 +455,16 @@ Common.UI.HintManager = new(function() { _resetToDefault(); return; } - if (!curr.attr('content-target') || (curr.attr('content-target') && !$('#' + curr.attr('content-target')).is(':visible'))) { // need to open panel + var needOpenPanel = (curr.attr('content-target') && !$('#' + curr.attr('content-target')).is(':visible')); + if (!curr.attr('content-target') || needOpenPanel) { // need to open panel if (!($('#file-menu-panel').is(':visible') && (curr.parent().prop('id') === 'fm-btn-info' && $('#panel-info').is(':visible') || curr.parent().prop('id') === 'fm-btn-settings' && $('#panel-settings').is(':visible')))) { if (curr.attr('for')) { // to trigger event in checkbox $('#' + curr.attr('for')).trigger(jQuery.Event('click', {which: 1})); } else { curr.trigger(jQuery.Event('click', {which: 1})); + if (needOpenPanel) + _isComplete = false; // to show next level of hints } } }