From 99695a0fc162b2f99325cb45862e821009fb8796 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 26 Nov 2013 13:54:17 +0000 Subject: [PATCH] #841: properly select the current tab SVN:trunk[2985] --- application/itopwebpage.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index 90cf978ac..98dafd2c4 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -966,7 +966,7 @@ EOF $container_index++; } $sSelector = '#tabbedContent_'.$container_index.' > ul'; - $this->add_ready_script("$('$sSelector').tabs('select', $tab_index);"); + $this->add_ready_script("window.setTimeout(\"$('$sSelector').tabs('select', $tab_index);\", 100);"); // Let the time to the tabs widget to initialize } public function StartCollapsibleSection($sSectionLabel, $bOpen = false)