소스 검색

HUE-7086 [core] Clicking on a task item to select it closes the task popup

Enrico Berti 8 년 전
부모
커밋
3308a45
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/templates/hue.mako

+ 1 - 1
desktop/core/src/desktop/templates/hue.mako

@@ -1478,7 +1478,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
     });
 
     var hideJobsPanels = function (e) {
-      if ($(e.target).parents('.navbar-default').length > 0 && $(e.target).closest('.btn-toggle-jobs-panel').length === 0 && $(e.target).closest('.hamburger-hue').length === 0 && $('.jobs-panel').is(':visible')) {
+      if ($(e.target).parents('.navbar-default').length > 0 && $(e.target).closest('.history-panel').length === 0 && $(e.target).closest('.btn-toggle-jobs-panel').length === 0 && $(e.target).closest('.hamburger-hue').length === 0 && $('.jobs-panel').is(':visible')) {
         huePubSub.publish('hide.jobs.panel');
         huePubSub.publish('hide.history.panel');
       }