소스 검색

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

Enrico Berti 7 년 전
부모
커밋
9951fcb652
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 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'));
     }
     }
   }
   }