Browse Source

HUE-8444 [report] Dragging on an empty dashboard should use the whole available width

Enrico Berti 7 years ago
parent
commit
9951fcb652

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

@@ -4227,7 +4227,7 @@ $(document).ready(function () {
 
 
   function addPreviewHolder() {
   function addPreviewHolder() {
     if (!$('.hue-preview-holder').length && searchViewModel.columns().length > 0) {
     if (!$('.hue-preview-holder').length && searchViewModel.columns().length > 0) {
-      $('<li>').addClass('preview-holder hue-preview-holder').attr('data-sizex', '6').attr('data-sizey', '2').attr('data-row', '1').attr('data-col', '1').appendTo($('.gridster>ul'));
+      $('<li>').addClass('preview-holder hue-preview-holder').attr('data-sizex', '12').attr('data-sizey', '2').attr('data-row', '1').attr('data-col', '1').appendTo($('.gridster>ul'));
     }
     }
   }
   }