Browse Source

HUE-6853 [jb] On mini jb clicking on breadcrumbs shouldn't close the popup

Enrico Berti 8 years ago
parent
commit
9ad749a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/templates/hue.mako

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

@@ -1594,7 +1594,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
     });
 
     var hideJobsPanels = function (e) {
-      if ($(e.target).closest('.jobs-panel').length === 0 && $(e.target).closest('.btn-toggle-jobs-panel').length === 0 && $('.jobs-panel').is(':visible')) {
+      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')) {
         huePubSub.publish('hide.jobs.panel');
         huePubSub.publish('hide.history.panel');
       }