Преглед на файлове

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 файла, в които са добавени 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

@@ -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) {