includes/clientside/static/faders.js
changeset 343 7e6537fd4730
parent 259 112debff64bd
equal deleted inserted replaced
342:a78b0798a116 343:7e6537fd4730
   452 function mb_logout()
   452 function mb_logout()
   453 {
   453 {
   454   var mb = new messagebox(MB_YESNO|MB_ICONQUESTION, 'Are you sure you want to log out?', 'If you log out, you will no longer be able to access your user preferences, your private messages, or certain areas of this site until you log in again.');
   454   var mb = new messagebox(MB_YESNO|MB_ICONQUESTION, 'Are you sure you want to log out?', 'If you log out, you will no longer be able to access your user preferences, your private messages, or certain areas of this site until you log in again.');
   455   mb.onclick['Yes'] = function()
   455   mb.onclick['Yes'] = function()
   456     {
   456     {
   457       window.location = makeUrlNS('Special', 'Logout/' + title);
   457       window.location = makeUrlNS('Special', 'Logout/' + csrf_token + '/' + title);
   458     }
   458     }
   459 }
   459 }
   460 
   460