CoreFiles by mySites.guru
admin-contacts-modal-es5.min.js4 lines, 1,283 bytes, from Joomla_4.4.8-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.4.8-rc1
md5
8952735b12504c0fa65d742fa80536a3
sha1
c25193083704119315e03c2e618f99cd6fd9a1d9
sha256
dd97e5f6c58f0ae8cae44683982f594c1ef771c5af2b0bd7d6e8db065e6d4d3b
(function(){"use strict";/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(function(){window.jSelectContact=function(r,e,o,t,a,n){var i="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;var l=Joomla.getOptions("xtd-contacts"),d=l.editor;n!==""&&(i='hreflang = "'+n+'"');var u="<a "+i+'  href="'+a+'">'+e+"</a>";return window.parent.Joomla.editors.instances[d].replaceSelection(u),window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",function(){for(var r=document.querySelectorAll(".select-link"),e=0,o=r.length;o>e;e+=1)r[e].addEventListener("click",function(t){t.preventDefault();var a=t.target.getAttribute("data-function");a==="jSelectContact"?window[a](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[a](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 28 releases, Joomla 4.4.1-rc1 to 4.4.14. See them all, or every version of this file.