projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use modal dialog for confirm logoff
[citadel.git]
/
webcit
/
static
/
wclib.js
diff --git
a/webcit/static/wclib.js
b/webcit/static/wclib.js
index 938ed03fee086e448b87cb982fb4b59d1688e3c9..597fdd1bd0e33d80f54bb7e6c5e8fc4f85dffb19 100644
(file)
--- 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();
+ }
+ }
+ );
+}