~ubuntu-branches/ubuntu/quantal/dokuwiki/quantal

« back to all changes in this revision

Viewing changes to lib/plugins/usermanager/script.js

  • Committer: Package Import Robot
  • Author(s): Tanguy Ortolo
  • Date: 2012-01-26 23:10:28 UTC
  • mfrom: (1.1.14) (19.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120126231028-gdcxrxo3j4jqp2de
Tags: 0.0.20120125-1
* New upstream release.
* debian/patches/debianize.diff: updated for the new release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * Add JavaScript confirmation to the User Delete button
3
3
 */
4
 
function usrmgr_delconfirm(){
5
 
    if($('usrmgr__del')){
6
 
        addEvent( $('usrmgr__del'),'click',function(){ return confirm(reallyDel); } );
7
 
    }
8
 
};
9
 
addInitEvent(usrmgr_delconfirm);
 
4
jQuery(function(){
 
5
    jQuery('#usrmgr__del').click(function(){
 
6
        return confirm(LANG.del_confirm);
 
7
    });
 
8
});