CoreFiles by mySites.guru
finder.min.js1 lines, 1,216 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
d0844bdc26a536a6998b045cac632096
sha1
cff7b32398b27c57ea21f6c838fee4430018230b
sha256
ce9216a69beefa61eda6b35c2f21cddfa2ccb6105ce50faf799bbc1acc95bb10
!function(e,t,r,n){"use strict";if(!t)throw new Error("core.js was not properly initialised");var o=function(e){e.target.value.length>1&&(e.target.awesomplete.list=[],t.request({url:t.getOptions("finder-search").url+"&q="+e.target.value,method:"GET",data:{q:e.target.value},perform:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},onSuccess:function(t){var r=JSON.parse(t);"[object Array]"===Object.prototype.toString.call(r.suggestions)&&(e.target.awesomplete.list=r.suggestions)},onError:function(e){e.status>0&&t.renderMessages(t.ajaxErrorsMessages(e))}}))},a=function(e){e.stopPropagation();var t=e.target.querySelector(".js-finder-advanced");t.length&&[].slice.call(t.querySelectorAll("select")).forEach(function(e){e.value||e.setAttribute("disabled","disabled")})};n.addEventListener("DOMContentLoaded",function r(){[].slice.call(n.querySelectorAll(".js-finder-search-query")).forEach(function(r){t.getOptions("finder-search")&&(r.awesomplete=new e(r),r.addEventListener("keyup",o))}),[].slice.call(n.querySelectorAll(".js-finder-searchform")).forEach(function(e){e.addEventListener("submit",a)}),n.removeEventListener("DOMContentLoaded",r)})}(window.Awesomplete,window.Joomla,window,document);

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