Procházet zdrojové kódy

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

Johan Ahlen před 9 roky
rodič
revize
7a6e8c5e03
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  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