CoreFiles by mySites.guru
admin-history-modal.min.js1 lines, 1,531 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
a9ca963f3a0e4305c88ea1e206059883
sha1
4bf14b55ebc57401c1bd50d7fb78d65f3a4b95e0
sha256
5caa599d07db6ae71b15e17ab74376d171dfa3e034acf26185c589a50beae6dc
(function(a,b){"use strict";if(!b||"function"!=typeof b.JText._)throw new Error("core.js was not properly initialised");a.addEventListener("DOMContentLoaded",function(){a.getElementById("toolbar-load").addEventListener("click",function(){var c=a.querySelectorAll("input[id*=\"cb\"]:checked");if(1===c.length){var d="".concat(a.getElementById("toolbar-load").getAttribute("data-url"),"&version_id=").concat(c[0].value);window.parent&&d&&(window.parent.location=d)}else alert(b.JText._("COM_CONTENTHISTORY_BUTTON_SELECT_ONE"));return!1}),a.getElementById("toolbar-preview").addEventListener("click",function(){var c=a.querySelectorAll("input[id*=\"cb\"]:checked");if(1===c.length){var d="".concat(a.getElementById("toolbar-preview").getAttribute("data-url"),"&version_id=").concat(c[0].value);window.parent&&d&&window.open(d,"",["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",function(){var 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){var d="".concat(a.getElementById("toolbar-compare").getAttribute("data-url"),"&id1=").concat(c[0].value,"&id2=").concat(c[1].value);window.parent&&d&&window.open(d,"",["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 2 releases, Joomla 4.0.0-alpha6 to 4.0.0-alpha7. See them all, or every version of this file.