Explorar el Código

HUE-3914 [editor] Fix mouse wheel vertical scroll in result table for IE 11

Johan Ahlen hace 9 años
padre
commit
769497f9ba

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/jquery.horizontalscrollbar.js

@@ -59,8 +59,8 @@
             e.stopPropagation();
             e.stopImmediatePropagation();
             scrollbar.css("left", ((scrollbarRail.width() - scrollbar.width()) * ($(el).parents('.dataTables_wrapper').scrollLeft() / ($(el).parents('.dataTables_wrapper')[0].scrollWidth - $(el).parents('.dataTables_wrapper').width()))) + "px");
+            e.preventDefault();
           }
-          e.preventDefault();
         });
         scrollbarRail.addClass('hue-scrollbar-x-rail').appendTo($(el).parents(".dataTables_wrapper"));
         scrollbarRail.width($(el).parents(".dataTables_wrapper").width() - colWidth);

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1508,7 +1508,7 @@ ${ hueIcons.symbols() }
             <!-- ko template: 'snippet-settings-toggle' --><!-- /ko -->
           </div>
           <div data-bind="css: {'span10': isResultSettingsVisible, 'span12 nomargin': ! isResultSettingsVisible() }">
-            <div data-bind="visible: showGrid; delayedOverflow, css: resultsKlass" style="display: none;">
+            <div data-bind="visible: showGrid, delayedOverflow, css: resultsKlass" style="display: none;">
               <table class="table table-condensed table-striped resultTable">
                 <thead>
                 <tr data-bind="foreach: result.meta">