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

The same content is in 5 releases, Joomla 4.0.0-alpha8 to 4.0.0-alpha12. See them all, or every version of this file.