CoreFiles by mySites.guru
finder.min.js1 lines, 1,157 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
e69da596c504f881bdd57425af179378
sha1
7c83811bbf53f6e7755b84a86d635f607b79871b
sha256
a9e3d0a02772f5ddcd884c011bed667eb9d377dc196ca9c883b70ad8c8a5800d
Joomla=window.Joomla||{},function(){"use strict";document.addEventListener("DOMContentLoaded",function(){for(var e,t=document.querySelectorAll(".js-finder-search-query"),r=0;r<t.length;r++)t[r].addEventListener("focus",function(e){e.target.value===Joomla.JText._("MOD_FINDER_SEARCH_VALUE")&&(e.target.value="")}),Joomla.getOptions("finder-search")&&t[r].addEventListener("keypress",function(e){e.target.value.length>1&&Joomla.request({url:Joomla.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,r){t=JSON.parse(t),"[object Array]"===Object.prototype.toString.call(t.suggestions)&&new Awesomplete(e.target,{list:t.suggestions})},onError:function(e){Joomla.renderMessages(Joomla.ajaxErrorsMessages(e))}})});e=document.querySelectorAll(".js-finder-searchform");for(r=0;r<e.length;r++)e[r].addEventListener("submit",function(e){e.stopPropagation();var t=e.target.querySelector(".js-finder-advanced");if(t.length)for(var r=t.querySelector("select"),o=0;o<r.length;o++)r[o].value||r[o].setAttribute("disabled","disabled")})})}();

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