Display confirmation on "Log out everywhere" in the upper right menu

addresses #765
pull/1/head
ansuz 3 years ago
parent 59f24344a6
commit 663f0d8771

@ -1886,8 +1886,11 @@ define([
},
content: h('span', Messages.logoutEverywhere),
action: function () {
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () {
Common.gotoURL(origin + '/');
UI.confirm(Messages.settings_logoutEverywhereConfirm, function (yes) {
if (!yes) { return; }
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () {
Common.gotoURL(origin + '/');
});
});
},
});

Loading…
Cancel
Save