aboutsummaryrefslogtreecommitdiff
path: root/vendors/dokuwiki/lib/plugins/usermanager/script.js
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 15:23:11 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 15:23:11 +0200
commit74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf (patch)
tree834c120d692be288f261bcae169eedd3d6b31d74 /vendors/dokuwiki/lib/plugins/usermanager/script.js
parentf8be8643f0faadb2c0ce87d553b7b9d569af5afd (diff)
downloadelgg-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.js9
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);