Author: a.izobov
Date: 2007-03-28 08:44:40 -0400 (Wed, 28 Mar 2007)
New Revision: 189
Modified:
trunk/richfaces/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js
Log:
RFA-331 fixed
Modified:
trunk/richfaces/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js
===================================================================
---
trunk/richfaces/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js 2007-03-28
11:59:03 UTC (rev 188)
+++
trunk/richfaces/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js 2007-03-28
12:44:40 UTC (rev 189)
@@ -73,6 +73,7 @@
showSlide: function(slide) {
if (this.current) this.current.hideContent();
var h=this.getContentHeight();
+ if (this.current) this.current.hideHeader();
slide.content.style.height=(h>0?h:0)+"px";
if (h<=1 && (this.panel.style.height=="" ||
this.panel.style.height.indexOf("%")!=-1)) {
@@ -166,6 +167,9 @@
hideContent: function() {
this.content.style.display="none";
this.content.firstChild.style.height="100%";
+ },
+
+ hideHeader: function() {
this.header_act.style.display="none";
this.header.style.display="";
},
Show replies by date