#841: properly select the current tab

SVN:trunk[2985]
This commit is contained in:
Denis Flaven
2013-11-26 13:54:17 +00:00
parent 0aa0de9f1c
commit 99695a0fc1

View File

@@ -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)