Skip to content
Snippets Groups Projects
Commit 32951c6c authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Added JavaScript delete confirm in usermanager

darcs-hash:20080622084804-7ad00-a5cd343deb7b875f50226318311c83e153307fd8.gz
parent 49ac3837
No related branches found
No related tags found
No related merge requests found
/**
* Add JavaScript confirmation to the User Delete button
*/
function usrmgr_delconfirm(){
if($('usrmgr__del')){
addEvent( $('usrmgr__del'),'click',function(){ return confirm(reallyDel); } );
addEvent( $('usrmgr__del'),'keypress',function(){ return confirm(reallyDel); } );
}
};
addInitEvent(usrmgr_delconfirm);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment