X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Fwclib.js;h=597fdd1bd0e33d80f54bb7e6c5e8fc4f85dffb19;hb=88779f198a89e1010b452cf199714c60223fa68e;hp=938ed03fee086e448b87cb982fb4b59d1688e3c9;hpb=8a8f7014e340e653af6e42480b604de611ea7e56;p=citadel.git diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index 938ed03fe..597fdd1bd 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -861,3 +861,17 @@ function DeleteSMTPqueueMsg(msgnum1, msgnum2) { } ); } + + +function ConfirmLogoff() { + new Ajax.Updater( + 'md-content', + 'do_template?template=confirmlogoff', + { + method: 'get', + onSuccess: function(cl_success) { + toggleModal(); + } + } + ); +}