FELIX-1623 Fix configuration status display in FireFox and disable the animations
while switching from one tab to another.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@817577 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/tw-1.1.js b/webconsole/src/main/resources/res/ui/tw-1.1.js
index 7a313ab..25f7597 100644
--- a/webconsole/src/main/resources/res/ui/tw-1.1.js
+++ b/webconsole/src/main/resources/res/ui/tw-1.1.js
@@ -91,7 +91,11 @@
$("."+opts.tabactive+">a").addClass(opts.tabactive);
// The real action! Also detirmine transition
- if(opts.transition=="slide"){
+ if(!opts.speed){
+ $('#'+ncon+':visible').hide();
+ $('#'+nbound).find("div").show();
+ $('#'+nbound).show();
+ }else if(opts.transition=="slide"){
$('#'+ncon+':visible').slideUp(opts.speed, function(){
$('#'+nbound).find("div").show();
$('#'+nbound).slideDown(opts.speed);