1/** 2 * Add JavaScript confirmation to the User Delete button 3 */ 4jQuery(function () { 5 jQuery('.plugin-virtualgroup .act form').on('submit', function (e) { 6 if (!confirm(LANG.del_confirm)) { 7 e.preventDefault(); 8 } 9 }); 10}); 11