浏览代码

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

Johan Ahlen 9 年之前
父节点
当前提交
7a6e8c5
共有 1 个文件被更改,包括 6 次插入0 次删除
  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 = initSharing("#documentShareModal");
 shareViewModel.setDocId(${doc_id});
 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':
 % if not beeswax_conf.USE_GET_LOG_API.get() and app_name != 'impala':
   viewModel.shouldAppendLogs = true;
   viewModel.shouldAppendLogs = true;
 % endif
 % endif