CoreFiles by mySites.guru
admin-contacts-modal-es5.min.js1 lines, 1,105 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
4007882a0a512523e0bce4c632716709
sha1
20c2fbe56d6b02c48d56e83e77775ffb81c16333
sha256
02ce9e565b844cf8f12c27897c17fd4d2b7f2ff7498777039591648496a73315
!function(){"use strict";window.jSelectContact=function(t,e,a,n,r,o){var l="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;var i=Joomla.getOptions("xtd-contacts").editor;""!==o&&(l='hreflang = "'+o+'"');var d="<a "+l+'  href="'+r+'">'+e+"</a>";return window.parent.Joomla.editors.instances[i].replaceSelection(d),window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",(function(){for(var t=document.querySelectorAll(".select-link"),e=0,a=t.length;a>e;e+=1)t[e].addEventListener("click",(function(t){t.preventDefault();var e=t.target.getAttribute("data-function");"jSelectContact"===e?window[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null):window.parent[e](t.target.getAttribute("data-id"),t.target.getAttribute("data-title"),null,null,t.target.getAttribute("data-uri"),t.target.getAttribute("data-language"),null),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close()}))}))}();

The same content is in 97 releases, Joomla 4.0.0-rc1 to 5.0.0-alpha1. See them all, or every version of this file.