芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media/com_languages/js/admin-language-edit-change-flag.min.js
document.addEventListener("DOMContentLoaded",(()=>{document.getElementById("jform_image").addEventListener("change",(({currentTarget:e})=>{const t=e.value,a=document.getElementById("flag").querySelector("img"),n=`${Joomla.getOptions("system.paths").rootFull}/media/mod_languages/images/${t}.gif`;t?(a.setAttribute("src",n),a.setAttribute("alt",t)):(a.removeAttribute("src"),a.setAttribute("alt",""))}),!1)}));