芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy2124.gob.mx/media/com_installer/js/changelog.min.js
Joomla=window.Joomla||{},(e=>{document.addEventListener("DOMContentLoaded",(()=>{const o=document.getElementsByClassName("changelogModal");Array.from(o).forEach((o=>{o.addEventListener("click",(o=>{e.loadChangelog(o.target.dataset.jsExtensionid,o.target.dataset.jsView)}))}))})),e.loadChangelog=(o,t)=>{const a=document.querySelector(`#changelogModal${o} .modal-body`);e.request({url:`index.php?option=com_installer&task=manage.loadChangelog&eid=${o}&source=${t}&format=json`,onSuccess:o=>{let t="";try{const e=JSON.parse(o);e.error?[t]=e:t=e.data}catch(e){t=e}a.innerHTML=e.sanitizeHtml(t)},onError:function(o){a.innerHTML=e.sanitizeHtml(o.statusText)}})}})(Joomla);