diff options
author | Simon Rettberg | 2019-09-09 12:14:59 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-09-09 12:14:59 +0200 |
commit | 28cd65b477b05b8a4dae2d77e141be5be3241e7b (patch) | |
tree | fd3c5314c9ce88a0bb8b2ee6fc510175d6db8d9c /modules-available | |
parent | [adduser] Check if adding user succeeded (diff) | |
download | slx-admin-28cd65b477b05b8a4dae2d77e141be5be3241e7b.tar.gz slx-admin-28cd65b477b05b8a4dae2d77e141be5be3241e7b.tar.xz slx-admin-28cd65b477b05b8a4dae2d77e141be5be3241e7b.zip |
[systemstatus] Change event listener to support sticky tabs
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/systemstatus/templates/_page.html | 3 |
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]) { |