primo commit
This commit is contained in:
4
media/com_users/js/admin-users-groups.min.js
vendored
Normal file
4
media/com_users/js/admin-users-groups.min.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/Joomla=window.Joomla||{},(e=>{document.addEventListener("DOMContentLoaded",()=>{e.submitbutton=n=>{if(n==="groups.delete"){const o=document.getElementsByName("cid[]");for(let t=0;t<o.length;t+=1)if(o[t].checked&&o[t].parentNode.getAttribute("data-usercount")!=="0")return window.confirm(e.Text._("COM_USERS_GROUPS_CONFIRM_DELETE"))&&e.submitform(n),!1}return e.submitform(n),!1}})})(Joomla);
|
||||
Reference in New Issue
Block a user