CoreFiles by mySites.guru
admin-contacts-modal.min.js1 lines, 1,142 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
159fc2fa57a6e74842bab6dacbd9eb18
sha1
bf03741753ba3565cb4dbf33b2c381436564a055
sha256
d7fa763f0a8d9a75833c509b809cd65cb5e5cb62453bd6b46f538edccab881bf
(function(){"use strict";window.jSelectContact=function(a,b,c,d,e,f){var g="";if(!Joomla.getOptions("xtd-contacts"))return window.parent.Joomla.Modal.getCurrent().close(),!1;var h=Joomla.getOptions("xtd-contacts"),i=h.editor;""!==f&&(g="hreflang = \"".concat(f,"\""));var j="<a ".concat(g,"  href=\"").concat(e,"\">").concat(b,"</a>");return window.parent.Joomla.editors.instances[i].replaceSelection(j),window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",function(){for(var a=document.querySelectorAll(".select-link"),b=0,c=a.length;c>b;b+=1)a[b].addEventListener("click",function(a){a.preventDefault();var 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 2 releases, Joomla 4.0.0-alpha6 to 4.0.0-alpha7. See them all, or every version of this file.