Эх сурвалжийг харах

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

Enrico Berti 7 жил өмнө
parent
commit
9b8c7be

+ 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 () {
     $('#rowDetailsModal').on('shown', function () {
       $('.modal-backdrop').css('z-index', '1070');
       $('.modal-backdrop').css('z-index', '1070');
       $('#rowDetailsModal .modal-body').scrollTop(0);
       $('#rowDetailsModal .modal-body').scrollTop(0);
+      $('#rowDetailsModal .modal-body').scrollLeft(0);
     });
     });
 
 
     if ($.fn.editableform) {
     if ($.fn.editableform) {