CoreFiles by mySites.guru
admin-history-modal.min.js1 lines, 1,531 bytes, from Joomla_4.0.0-alpha9-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha8
md5
61cbc6d17edacc3c7efe25bff02b3cfa
sha1
1b8c80c9e1c11d7c0f04bf54a82d758ed5f2e288
sha256
38b217d23c04dd46f437b32bc9c2cf91d30ba65e895647104ba3739829ec15e9
(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 12 releases, Joomla 4.0.0-alpha8 to 4.0.0-beta7. See them all, or every version of this file.