CoreFiles by mySites.guru
admin-history-modal.es6.min.js1 lines, 1,461 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
4cd9d37c129f17e493af13fdc48d8682
sha1
aba3dec7351fe9483aaf9256fcfe3eebe15543cf
sha256
f87ea24f4a04347c23531c58b9b9b8b64db479294757f968e3ad834c3fa86355
((e,t)=>{"use strict";if(!t||"function"!=typeof t.JText._)throw new Error("core.js was not properly initialised");e.addEventListener("DOMContentLoaded",()=>{e.getElementById("toolbar-load").addEventListener("click",()=>{const r=e.querySelectorAll('input[id*="cb"]:checked');if(1===r.length){const t=`${e.getElementById("toolbar-load").getAttribute("data-url")}&version_id=${r[0].value}`;window.parent&&t&&(window.parent.location=t)}else alert(t.JText._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE"));return!1}),e.getElementById("toolbar-preview").addEventListener("click",()=>{const r=["width=800, height=600, resizable=yes, scrollbars=yes"],l=e.querySelectorAll('input[id*="cb"]:checked');if(1===l.length){const t=`${e.getElementById("toolbar-preview").getAttribute("data-url")}&version_id=${l[0].value}`;window.parent&&t&&window.open(t,"",r.toString())}else alert(t.JText._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE"));return!1}),e.getElementById("toolbar-compare").addEventListener("click",()=>{const r=["width=1000, height=600, resizable=yes, scrollbars=yes"],l=e.querySelectorAll('input[id*="cb"]:checked');if(0===l.length)alert(t.JText._("JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST"));else if(2===l.length){const t=`${e.getElementById("toolbar-compare").getAttribute("data-url")}&id1=${l[0].value}&id2=${l[1].value}`;window.parent&&t&&window.open(t,"",r.toString())}else alert(t.JText._("COM_CONTENTHISTORY_BUTTON_SELECT_TWO"));return!1})})})(document,Joomla);

The same content is in 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.