CoreFiles by mySites.guru
admin-articles-modal.es6.min.js1 lines, 1,050 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
ca8bb159292ef0f0e58b378335df8829
sha1
2f717a83d9f2560d5cb70e30c6e66d72b9494a60
sha256
d6d377f36899d68fa43d948e4d3e6dfa38873e89d3021e8d2a04c66e86a5ee01
(()=>{"use strict";window.jSelectArticle=(a,b,c,d,e,f)=>{let g="";if(!Joomla.getOptions("xtd-articles"))return!1;const{editor:h}=Joomla.getOptions("xtd-articles");""!==f&&(g=`hreflang="${f}"`);const i=`<a ${g} href="${e}">${b}</a>`;return window.parent.Joomla.editors.instances[h].replaceSelection(i),window.parent.Joomla.Modal&&window.parent.Joomla.Modal.getCurrent().close(),!0},document.addEventListener("DOMContentLoaded",()=>{const a=document.querySelectorAll(".select-link");for(let b=0,c=a.length;c>b;b+=1)a[b].addEventListener("click",a=>{a.preventDefault();const{target:b}=a,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()})})})();

No other release has this exact content. See every version of this file.