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