1/** 2 * Add JavaScript confirmation to the User Delete button 3 */ 4function usrmgr_delconfirm(){ 5 if($('usrmgr__del')){ 6 addEvent( $('usrmgr__del'),'click',function(){ return confirm(reallyDel); } ); 7 addEvent( $('usrmgr__del'),'keypress',function(){ return confirm(reallyDel); } ); 8 } 9}; 10addInitEvent(usrmgr_delconfirm); 11