diff options
author | lupo49 <post@lupo49.de> | 2011-08-22 19:11:18 +0200 |
---|---|---|
committer | lupo49 <post@lupo49.de> | 2011-08-22 19:11:18 +0200 |
commit | d8f231b5162801fe333f899552b5808a83282634 (patch) | |
tree | f8021011b52502521eeff4f33e368628bb73ba89 /lib/plugins/usermanager/script.js | |
parent | 8e5a3957cd8de15f48dc27e9c07dfe4033fd6997 (diff) | |
parent | 1c5f7481f4e685ad3ffe9ba48ed47ed75196e64a (diff) | |
download | rpg-d8f231b5162801fe333f899552b5808a83282634.tar.gz rpg-d8f231b5162801fe333f899552b5808a83282634.tar.bz2 |
Merge remote branch 'upstream/master'
Diffstat (limited to 'lib/plugins/usermanager/script.js')
-rw-r--r-- | lib/plugins/usermanager/script.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/plugins/usermanager/script.js b/lib/plugins/usermanager/script.js index 68d437129..de013242b 100644 --- a/lib/plugins/usermanager/script.js +++ b/lib/plugins/usermanager/script.js @@ -1,9 +1,8 @@ /** * Add JavaScript confirmation to the User Delete button */ -function usrmgr_delconfirm(){ - if($('usrmgr__del')){ - addEvent( $('usrmgr__del'),'click',function(){ return confirm(reallyDel); } ); - } -}; -addInitEvent(usrmgr_delconfirm); +jQuery(function(){ + jQuery('#usrmgr__del').click(function(){ + return confirm(LANG.del_confirm); + }); +}); |