Author: akushunin
Date: 2007-10-25 05:45:56 -0400 (Thu, 25 Oct 2007)
New Revision: 3520
Modified:
branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
branches/3.1.x/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx
Log:
RF-1120
Modified:
branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
===================================================================
---
branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2007-10-25
09:15:35 UTC (rev 3519)
+++
branches/3.1.x/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2007-10-25
09:45:56 UTC (rev 3520)
@@ -11,19 +11,22 @@
this.status="true";
}
- this.timer = setTimeout(this.windowOnLoad.bind(this), 100);
+// this.timer = setTimeout(this.windowOnLoad.bind(this), 100);
},
- windowOnLoad: function(){
+/* windowOnLoad: function(){
if (RichFaces.navigatorType() == "MSIE"){
var body = $(this.panelId+"_body");
- if (body && body.style.display!="none")
body.firstChild.style.width=body.clientWidth;
+ if (body && body.style.display!="none")
body.firstChild.style.width=body.clientWidth;
+*/
+
/* if ($(this.panelId_head).clientWidth<$(this.panelId).clientWidth){
$(this.panelId_head).style.width=$(this.panelId).clientWidth-2+"px";
- }*/
+ }
}
},
+*/
toggleToState: function() {
var body = $(this.panelId+"_body");
@@ -34,7 +37,7 @@
this.status="true";
switch_off.style.display="none";
switch_on.style.display="";
- this.timer = setTimeout(this.windowOnLoad.bind(this), 100);
+// this.timer = setTimeout(this.windowOnLoad.bind(this), 100);
// body.firstChild.style.width=body.clientWidth;
} else {
Element.hide(body);
Modified: branches/3.1.x/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx
===================================================================
---
branches/3.1.x/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx 2007-10-25
09:15:35 UTC (rev 3519)
+++
branches/3.1.x/ui/simpleTogglePanel/src/main/templates/simpleTogglePanel.jspx 2007-10-25
09:45:56 UTC (rev 3520)
@@ -87,17 +87,13 @@
<f:call name="utils.encodeEndFormIfNessesary"/>
<div id="#{clientId}_body"
+ class="dr-stglpnl-b rich-stglpanel-body
#{component.attributes['bodyClass']}"
style="display : #{this:getdivdisplay(context, component)};
- overflow: auto; height: #{component.attributes['height']}; width:
100%;">
- <table cellpadding="0" style="width: 100%" >
- <tr>
- <td class="dr-stglpnl-b rich-stglpanel-body
#{component.attributes['bodyClass']}">
+ height: #{component.attributes['height']};">
+
<vcp:body>
<f:call name="renderChildren" />
</vcp:body>
- </td>
- </tr>
- </table>
</div>
</div>
Show replies by date