CoreFiles by mySites.guru
associations-edit.min.js1 lines, 1,587 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
f395422d7c7dbc7c4a2e7eaf9ea14163
sha1
2db8cb4f9dbe83c8ac5960a730f43fc48b10cfae
sha256
c3984515713fdc95aed38fbd00c2de851f24ea2358a683f2c661ebce2c0b5c03
Joomla=window.Joomla||{},function(e,o){"use strict";e.hideAssociation=function(e,t){for(var s=o.querySelectorAll("#associations .control-group"),a=0,i=s.length;a<i;a++){s[a].querySelector(".control-label label").getAttribute("for").replace("_id","")==e+"_associations_"+t.replace("-","_")&&(s[a].style.display="none")}},e.showAssociationMessage=function(){for(var t=o.querySelectorAll("#associations .control-group"),s=0,a=t.length;s<a;s++){t[s].style.display="none";var i=o.getElementById("associations");if(i){var n=o.createElement("div");n.classList.add("alert"),n.classList.add("alert-info"),n.id="associations-notice",n.innerHTML=e.JText._("JGLOBAL_ASSOC_NOT_POSSIBLE"),i.insertAdjacentElement("afterbegin",n)}}},o.addEventListener("DOMContentLoaded",function(){var t=e.getOptions("system.associations.edit"),s=t.formControl||"jform",a=o.getElementById(s+"_language");1==t.hidden?e.showAssociationMessage():a&&e.hideAssociation(s,a.value),a&&a.addEventListener("change",function(t){e.removeMessages();for(var a=!1,i=o.querySelectorAll("#associations .control-group"),n=0,l=i.length;n<l;n++){var r=i[n].querySelector(".control-label label").getAttribute("for").replace("_id","").replace("jform_associations_","");i[n].style.display="block",a||""===o.getElementById(s+"_associations_"+r+"_id").value||(a=!0);var c=o.getElementById(s+"_associations_"+r+"_clear");c.onclick?c.onclick():c.click&&c.click()}a&&e.renderMessages({warning:[e.JText._("JGLOBAL_ASSOCIATIONS_RESET_WARNING")]});var d=t.target.value;"*"==d?e.showAssociationMessage():e.hideAssociation(s,d)})})}(Joomla,document);

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