← Back
Editing: workflowsListStatusChange.min.js
(()=>{"use strict";const e=wp.element;var t=function(){var t=(0,e.useCallback)(function(e){e.preventDefault();var t=e.target.closest("form");t&&t.submit()},[]);return(0,e.useEffect)(function(){var e=document.querySelectorAll(".pp-future-workflow-status-change");return e.forEach(function(e){e.addEventListener("click",t)}),function(){e.forEach(function(e){e.removeEventListener("click",t)})}},[t]),null};document.addEventListener("DOMContentLoaded",function(){(0,e.createRoot)(document.createElement("div")).render(React.createElement(t,null))})})();
Save File
Cancel