CoreFiles by mySites.guru
admin-contacts-modal.es6.min.js1 lines, 1,125 bytes, from Joomla_4.0.0-alpha9-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha8
md5
0877a17580f4bdd698daccbbf1f49ab3
sha1
ed329d16d833844e3eb5ac9d00440cbbf6eef464
sha256
7793a92ed8f90dd74ae57f195c8d0871032efde935a26633d0a10d7408c8f6c4
(()=>{'use strict';window.jSelectContact=(a,b,c,d,e,f)=>{let g="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;const{editor:h}=Joomla.getOptions("xtd-contacts");""!==f&&(g="hreflang = \"".concat(f,"\""));const i="<a ".concat(g,"  href=\"").concat(e,"\">").concat(b,"</a>");return window.parent.Joomla.editors.instances[h].replaceSelection(i),window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",()=>{const a=document.querySelectorAll(".select-link");for(let b=0,c=a.length;c>b;b+=1)a[b].addEventListener("click",a=>{a.preventDefault();const b=a.target.getAttribute("data-function");"jSelectContact"===b?window[b](a.target.getAttribute("data-id"),a.target.getAttribute("data-title"),null,null,a.target.getAttribute("data-uri"),a.target.getAttribute("data-language"),null):window.parent[b](a.target.getAttribute("data-id"),a.target.getAttribute("data-title"),null,null,a.target.getAttribute("data-uri"),a.target.getAttribute("data-language"),null),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()})})})();

The same content is in 5 releases, Joomla 4.0.0-alpha8 to 4.0.0-alpha12. See them all, or every version of this file.