CoreFiles by mySites.guru
admin-articles-modal.min.js1 lines, 1,106 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
38b8f3c31036e11102d463b4803896a2
sha1
42e7ab001fe6c6fe2691bef93d78c42891a9c3d9
sha256
92bfd570065e26c72d3c1cb11cff2d9dce45907e903ffa90633565a4648768c1
(function(){"use strict";window.jSelectArticle=function(a,b,c,d,e,f){var g="";if(!Joomla.getOptions("xtd-articles"))return!1;var h=Joomla.getOptions("xtd-articles"),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&&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,c=b.getAttribute("data-function");"jSelectArticle"===c?window[c](b.getAttribute("data-id"),b.getAttribute("data-title"),b.getAttribute("data-cat-id"),null,b.getAttribute("data-uri"),b.getAttribute("data-language")):window.parent[c](b.getAttribute("data-id"),b.getAttribute("data-title"),b.getAttribute("data-cat-id"),null,b.getAttribute("data-uri"),b.getAttribute("data-language")),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.