ソースを参照

HUE-7229 [editor] Expanding a result row a second time does not reset the scroll of the modal to the top

Enrico Berti 8 年 前
コミット
830fa6c066

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

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