diff --git a/view/adminhtml/web/js/init.js b/view/adminhtml/web/js/init.js index 5e7e6473..e2955e2c 100644 --- a/view/adminhtml/web/js/init.js +++ b/view/adminhtml/web/js/init.js @@ -11,6 +11,7 @@ define([ let active_version = ''; let next_version = ''; let fastlyFieldset = $('#system_full_page_cache_fastly'); + let fastlyEdgeModulesTab = $('#system_full_page_cache_fastly_edge_modules'); let isAlreadyConfigured = true; let serviceStatus = false; @@ -35,6 +36,10 @@ define([ } }); + if (fastlyEdgeModulesTab.is(':visible')) { + modlyInit(); + } + $('#system_full_page_cache_fastly_edge_modules-head').one('click', function () { modlyInit(); });