[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 ((e,r)=>{const t=()=>{e.getElementById("token-copy").addEventListener("click",(({currentTarget:t})=>{const n=t.previousElementSibling;navigator.clipboard?navigator.clipboard.writeText(n.value).then((()=>{r.renderMessages({message:[r.Text._("PLG_USER_TOKEN_COPY_SUCCESS")]})}),(()=>{r.renderMessages({error:[r.Text._("PLG_USER_TOKEN_COPY_FAIL")]})})):(t=>{t.focus(),t.select();try{e.execCommand("copy")?r.renderMessages({message:[r.Text._("PLG_USER_TOKEN_COPY_SUCCESS")]}):r.renderMessages({error:[r.Text._("PLG_USER_TOKEN_COPY_FAIL")]})}catch(e){r.renderMessages({error:[e]})}})(n)}))},n=()=>{t(),e.removeEventListener("DOMContentLoaded",n)};e.addEventListener("DOMContentLoaded",n)})(document,Joomla);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |