Browse Source

HUE-5571 [core] Move the window.zoom event to the shared footer code

Enrico Berti 8 years ago
parent
commit
79df208

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

@@ -363,6 +363,10 @@ from metadata.conf import has_optimizer, OPTIMIZER
       $.jHueNotify.error(msg);
     });
 
+    $($('#zoomDetectFrame')[0].contentWindow).resize(function () {
+      $(window).trigger('zoom');
+    });
+
     %if messages:
       %for message in messages:
         %if message.tags == 'error':