Browse Source

HUE-8248 [dashboard] Automatically expand widgets to show all their content

Enrico Berti 7 years ago
parent
commit
f845dcb692

+ 1 - 0
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -4191,6 +4191,7 @@ $(document).ready(function () {
 
 
   function equalizeWidgetsHeights() {
   function equalizeWidgetsHeights() {
     if (searchViewModel.isGridster() && !isDraggingOrResizingWidgets) {
     if (searchViewModel.isGridster() && !isDraggingOrResizingWidgets) {
+      huePubSub.publish('gridster.remove.scrollbars');
       // widgets on the same row should have the same height
       // widgets on the same row should have the same height
       var touched = [];
       var touched = [];
       searchViewModel.gridItems().forEach(function (existingWidget) {
       searchViewModel.gridItems().forEach(function (existingWidget) {