diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 15:23:11 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 15:23:11 +0200 |
commit | 74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf (patch) | |
tree | 834c120d692be288f261bcae169eedd3d6b31d74 /vendors/dokuwiki/lib/plugins/usermanager/script.js | |
parent | f8be8643f0faadb2c0ce87d553b7b9d569af5afd (diff) | |
download | elgg-74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf.tar.gz elgg-74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf.tar.bz2 |
Rename lib/dokuwiki to vendors/dokuwiki
Diffstat (limited to 'vendors/dokuwiki/lib/plugins/usermanager/script.js')
-rw-r--r-- | vendors/dokuwiki/lib/plugins/usermanager/script.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendors/dokuwiki/lib/plugins/usermanager/script.js b/vendors/dokuwiki/lib/plugins/usermanager/script.js new file mode 100644 index 000000000..875e4297b --- /dev/null +++ b/vendors/dokuwiki/lib/plugins/usermanager/script.js @@ -0,0 +1,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); |