Browse Source

HUE-3614 [beeswax] Scrolling on assist in old editor also scrolls the editor

Johan Ahlen 9 years ago
parent
commit
7a6e8c5
1 changed files with 6 additions and 0 deletions
  1. 6 0
      apps/beeswax/src/beeswax/templates/execute.mako

+ 6 - 0
apps/beeswax/src/beeswax/templates/execute.mako

@@ -2830,6 +2830,12 @@ ko.applyBindings(viewModel, $("#beeswax-execute")[0]);
 shareViewModel = initSharing("#documentShareModal");
 shareViewModel.setDocId(${doc_id});
 
+$('.left-panel').on('mousewheel', function(e){
+  e.preventDefault();
+  e.stopPropagation();
+  return false;
+});
+
 % if not beeswax_conf.USE_GET_LOG_API.get() and app_name != 'impala':
   viewModel.shouldAppendLogs = true;
 % endif