CoreFiles by mySites.guru
admin-history-modal.es6.min.js1 lines, 1,459 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
74736b423dbd465710f5d4cb16837e68
sha1
50b5776c22e1838da2156c93c46e6934a9563487
sha256
d4dbaec2018ffa3a28347a25ea813a120211072259fc15cc990ab8ee548aa52f
((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=`${a.getElementById("toolbar-load").getAttribute("data-url")}&version_id=${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=`${a.getElementById("toolbar-preview").getAttribute("data-url")}&version_id=${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=`${a.getElementById("toolbar-compare").getAttribute("data-url")}&id1=${c[0].value}&id2=${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 7 releases, Joomla 4.0.0-beta to 4.0.0-beta7. See them all, or every version of this file.