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/configurationrender.css b/webconsole/src/main/resources/res/ui/configurationrender.css
index 9bcba5a..c0f063b 100644
--- a/webconsole/src/main/resources/res/ui/configurationrender.css
+++ b/webconsole/src/main/resources/res/ui/configurationrender.css
@@ -3,6 +3,10 @@
#divcfgprttabs {
}
+.divcfgprttabshidden {
+ display: none;
+}
+
#divcfgprttabs ul {
list-style: none;
}
@@ -68,3 +72,8 @@
width: 100px;
overflow: visible;
}
+
+.space div {
+ font-family: monospace;
+ white-space: pre;
+}
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);