From 28cd65b477b05b8a4dae2d77e141be5be3241e7b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 9 Sep 2019 12:14:59 +0200 Subject: [systemstatus] Change event listener to support sticky tabs --- modules-available/systemstatus/templates/_page.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules-available/systemstatus/templates/_page.html') 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]) { -- cgit v1.2.3-55-g7522