From 6e555e29d1603d6098e3741bc634529448baef55 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Tue, 24 Aug 2021 16:00:57 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03928=20Fix=20impact=20analysis=20not=20s?= =?UTF-8?q?howing=20when=20displaying=20list=20first?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/simple_graph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/simple_graph.js b/js/simple_graph.js index 3035d91a5..78f2fa06d 100644 --- a/js/simple_graph.js +++ b/js/simple_graph.js @@ -81,7 +81,7 @@ $(function() { // We are inside a tab, find out which one and hook its activation this.sTabId = jTabPanel.attr('id'); - var jTabs = this.element.closest('.ui-tabs'); + var jTabs = this.element.closest('.ibo-tab-container'); jTabs.on( "tabsactivate", function( event, ui ) { me._on_tabs_activate(ui); }); @@ -704,7 +704,7 @@ $(function() }, _on_tabs_activate: function(ui) { - if (ui.newPanel.selector == ('#'+this.sTabId)) + if (ui.newPanel[0] === $('#'+this.sTabId)[0]) { if (this.bRedrawNeeded) {