Liferay.Loader.define("portlet-configuration-web@5.0.40/js/AddConfigurationTemplateEventHandler",["module","exports","require","frontend-js-web"],(function(e,n,t){window;Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({namespace:e}){const n=document.getElementById("".concat(e,"fm")),t=()=>Liferay.once("destroyPortlet",(()=>{var e;return null===(e=(0,r.getOpener)())||void 0===e?void 0:e.Liferay.fire("addPortletConfigurationTemplate")}));return null==n||n.addEventListener("submit",t),{dispose:()=>null==n?void 0:n.removeEventListener("submit",t)}};var r=t("frontend-js-web")}));
//# sourceMappingURL=AddConfigurationTemplateEventHandler.js.map