CoreFiles by mySites.guru
admin-articles-modal.min.js1 lines, 1,106 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
a79d775cdd3c7e4ec6399cd9598a9139
sha1
34e5704b324c8ef6cefc20edee64faf76e99f812
sha256
c5c7a98ce4eacca1da9561ddd698764179b92bf21bd1a462dcf7c5e1e7a75fe5
(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 12 releases, Joomla 4.0.0-alpha8 to 4.0.0-beta7. See them all, or every version of this file.