admin: Kill menu uses href="#" so disable vex auto-close on popstate

Change-Id: Icc94fc0dae70718700b709b81785162254af2ed4
This commit is contained in:
Michael Meeks 2020-01-08 11:50:19 +00:00
parent b752bb6d4a
commit 971ed41c0d

View file

@ -82,6 +82,9 @@ var AdminSocketOverview = AdminSocketBase.extend({
});
}, 1000);
// Dialog uses <a href='#' - which triggers popstate
vex.defaultOptions.closeAllOnPopState = false;
// Allow table rows to have a context menu for terminating sessions
$('body').on('contextmenu', '#docview tr', function(ev) {
$('#rowContextMenu').css({