aboutsummaryrefslogtreecommitdiff
path: root/vendors/dokuwiki/lib/plugins/usermanager/script.js
blob: 875e4297bf3e2565897afe144b1dbaf04ee904d0 (plain)
1
2
3
4
5
6
7
8
9
/**
 * Add JavaScript confirmation to the User Delete button
 */
function usrmgr_delconfirm(){
    if(DOKUid('usrmgr__del')){
        addEvent( DOKUid('usrmgr__del'),'click',function(){ return confirm(reallyDel); } );
    }
};
addInitEvent(usrmgr_delconfirm);