CoreFiles by mySites.guru
admin-login.min.js1 lines, 1,502 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
4c0110ef111cee29c8e40728205a3f89
sha1
82e5c24118d490e8611017df66fec1310c4cb8b6
sha256
638847a34edf48c1418230bd89b06bf81d25594668d3bdfd0e345dbcfa0f6dc3
function _typeof(a){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(a)}(function(a,b){'use strict';b.addEventListener("DOMContentLoaded",function(){var c=b.getElementById("btn-login-submit"),d=b.getElementById("form-login"),e=b.querySelector(".login-initial");c&&c.addEventListener("click",function(c){c.preventDefault(),d&&b.formvalidator.isValid(d)&&a.submitbutton("login")}),e&&(e.style.display="block",!b.querySelector("joomla-alert")&&b.getElementById("mod-login-username").focus()),d&&d.addEventListener("submit",function(b){var c=[];b.preventDefault(),c.push("format=json");for(var e,f=0;f<d.elements.length;f+=1)e=d.elements[f],e.hasAttribute("name")&&"INPUT"===e.nodeName?c.push("".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value))):e.hasAttribute("name")&&"SELECT"===e.nodeName&&0<e.value.length&&c.push("".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value)));a.request({url:"index.php",method:"POST",data:c.join("&").replace(/%20/g,"+"),perform:!0,onSuccess:function onSuccess(b){var c=JSON.parse(b);c.success?(a.Event.dispatch(d,"joomla:login"),window.location.href=c.data.return):"object"===_typeof(c.messages)&&null!==c.messages&&a.renderMessages(c.messages)},onError:function onError(b){a.renderMessages(a.ajaxErrorsMessages(b))}})})})})(window.Joomla,document);

No other release has this exact content. See every version of this file.