CoreFiles by mySites.guru
admin-history-modal.min.js1 lines, 1,518 bytes, from Joomla_4.1.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 4.1.0-alpha1
md5
128fcc48e562827019eb4d384c8aa3af
sha1
b30f8d758abf751d36300bf902c235512525380d
sha256
e53aa904e04ed584f309e8edb1e0b9c10f2434bf7dd1f1a41d3357b5734ed32a
((e,t)=>{if(!t||"function"!=typeof t.Text._)throw new Error("core.js was not properly initialised");e.addEventListener("DOMContentLoaded",(()=>{e.getElementById("toolbar-load").addEventListener("click",(()=>{const l=e.querySelectorAll('input[id*="cb"]:checked');if(1===l.length){const t=`${e.getElementById("toolbar-load").childNodes[1].getAttribute("data-url")}&version_id=${l[0].value}`;window.parent&&t&&(window.parent.location=t)}else alert(t.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION"));return!1})),e.getElementById("toolbar-preview").addEventListener("click",(()=>{const l=["width=800, height=600, resizable=yes, scrollbars=yes"],r=e.querySelectorAll('input[id*="cb"]:checked');if(1===r.length){const t=`${e.getElementById("toolbar-preview").childNodes[1].getAttribute("data-url")}&version_id=${r[0].value}`;window.parent&&t&&window.open(t,"",l.toString())}else alert(t.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION"));return!1})),e.getElementById("toolbar-compare").addEventListener("click",(()=>{const l=["width=1000, height=600, resizable=yes, scrollbars=yes"],r=e.querySelectorAll('input[id*="cb"]:checked');if(0===r.length)alert(t.Text._("JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST"));else if(2===r.length){const t=`${e.getElementById("toolbar-compare").childNodes[1].getAttribute("data-url")}&id1=${r[0].value}&id2=${r[1].value}`;window.parent&&t&&window.open(t,"",l.toString())}else alert(t.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS"));return!1}))}))})(document,Joomla);

The same content is in 4 releases, Joomla 4.0.4-rc1 to 4.1.0-alpha3. See them all, or every version of this file.