summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-09 12:14:59 +0200
committerSimon Rettberg2019-09-09 12:14:59 +0200
commit28cd65b477b05b8a4dae2d77e141be5be3241e7b (patch)
treefd3c5314c9ce88a0bb8b2ee6fc510175d6db8d9c
parent[adduser] Check if adding user succeeded (diff)
downloadslx-admin-28cd65b477b05b8a4dae2d77e141be5be3241e7b.tar.gz
slx-admin-28cd65b477b05b8a4dae2d77e141be5be3241e7b.tar.xz
slx-admin-28cd65b477b05b8a4dae2d77e141be5be3241e7b.zip
[systemstatus] Change event listener to support sticky tabs
-rw-r--r--modules-available/systemstatus/templates/_page.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules-available/systemstatus/templates/_page.html b/modules-available/systemstatus/templates/_page.html
index 9c66ba53..3d0f9dfb 100644
--- a/modules-available/systemstatus/templates/_page.html
+++ b/modules-available/systemstatus/templates/_page.html
@@ -125,8 +125,7 @@
$('#services').load('?do=SystemStatus&action=Services');
$('#dmsd-users').load('?do=SystemStatus&action=DmsdUsers');
var slxDone = {};
- $('.ajax-tab').click(function (e) {
- e.preventDefault();
+ $('.ajax-tab').on('shown.bs.tab', function (e) {
var $this = $(this);
var w = $this.attr('id');
if (!slxDone[w]) {