CoreFiles by mySites.guru
admin-history-modal-es5.min.js1 lines, 1,544 bytes, from Joomla_4.0.4-Stable-Full_Package.zip
Raw History Compare with 4.0.3
md5
22dd2285988c4ed00033a6b5ed90e0f9
sha1
fb2f2f5bc7e454670d0ba240302e10b7b5900fd5
sha256
68eb2e64e8342d68f252c42f396d03acacb415bd81a2db99f31ebc9fbe4f2073
!function(){"use strict";!function(e,t){if(!t||"function"!=typeof t.Text._)throw new Error("core.js was not properly initialised");e.addEventListener("DOMContentLoaded",(function(){e.getElementById("toolbar-load").addEventListener("click",(function(){var r=e.querySelectorAll('input[id*="cb"]:checked');if(1===r.length){var n=e.getElementById("toolbar-load").childNodes[1].getAttribute("data-url")+"&version_id="+r[0].value;window.parent&&n&&(window.parent.location=n)}else alert(t.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION"));return!1})),e.getElementById("toolbar-preview").addEventListener("click",(function(){var r=e.querySelectorAll('input[id*="cb"]:checked');if(1===r.length){var n=e.getElementById("toolbar-preview").childNodes[1].getAttribute("data-url")+"&version_id="+r[0].value;window.parent&&n&&window.open(n,"",["width=800, height=600, resizable=yes, scrollbars=yes"].toString())}else alert(t.Text._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION"));return!1})),e.getElementById("toolbar-compare").addEventListener("click",(function(){var 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){var n=e.getElementById("toolbar-compare").childNodes[1].getAttribute("data-url")+"&id1="+r[0].value+"&id2="+r[1].value;window.parent&&n&&window.open(n,"",["width=1000, height=600, resizable=yes, scrollbars=yes"].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.