瀏覽代碼

HUE-8117 [editor] Horizontal scroll of the record popup is not reseted to zero on reopen

Enrico Berti 7 年之前
父節點
當前提交
9b8c7be
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/core/src/desktop/templates/common_header_footer_components.mako

+ 1 - 0
desktop/core/src/desktop/templates/common_header_footer_components.mako

@@ -352,6 +352,7 @@ from metadata.conf import has_optimizer, OPTIMIZER
     $('#rowDetailsModal').on('shown', function () {
       $('.modal-backdrop').css('z-index', '1070');
       $('#rowDetailsModal .modal-body').scrollTop(0);
+      $('#rowDetailsModal .modal-body').scrollLeft(0);
     });
 
     if ($.fn.editableform) {