Author: konstantin.mishin
Date: 2008-01-18 13:25:53 -0500 (Fri, 18 Jan 2008)
New Revision: 5472
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
Log:
RF-1641
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js 2008-01-18
15:10:11 UTC (rev 5471)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js 2008-01-18
18:25:53 UTC (rev 5472)
@@ -15,7 +15,7 @@
initialize: function($super, element, parentElement, dontUpdateStyles) {
if(!element) {
var fakeElement = $(document.createElement("div"));
- fakeElement.innerHTML = '<iframe id="'+'ClientUI_Substrate' +
(ClientUI_common_box_Substrate_idGenerator++) +'" src=""
scrolling="no" frameborder="0"
style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:block"></iframe>';
+ fakeElement.innerHTML = '<iframe id="'+'ClientUI_Substrate' +
(ClientUI_common_box_Substrate_idGenerator++) +'"
src="javascript:\'\'" scrolling="no" frameborder="0"
style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:block"></iframe>';
element = $(fakeElement.getElementsByTagName("iframe")[0]);
fakeElement.removeChild(element);
}
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2008-01-18
15:10:11 UTC (rev 5471)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2008-01-18
18:25:53 UTC (rev 5472)
@@ -69,7 +69,7 @@
<div id="#{clientId}" style="width:
#{component.attributes['width']};height:
#{component.attributes['height']};" class="dr-sdt rich-sdt
#{component.attributes['styleClass']}" >
<div id="#{clientId}:cs" class="dr-sdt-hsplit"
style="display:none;"/>
<div id="#{clientId}_GridHeaderTemplate"
class="dr-sdt-inlinebox" style="#{hStyle}; width:
#{component.attributes['width']};">
- <iframe id="#{clientId}:hs" class="dr-sdt-substrate"
src="" scrolling="no" frameborder="0" > <br/>
</iframe>
+ <iframe id="#{clientId}:hs" class="dr-sdt-substrate"
src="javascript:\'\'" scrolling="no" frameborder="0"
> <br/> </iframe>
<div style="display: block; left: 0px; top: 0px; width:
#{sumWidth}px;">
<span class="dr-sdt-tmplbox dr-sdt-fb"
id="#{clientId}:header:FrozenBox">
<table cellpadding="0" cellspacing="0"
style="border-collapse:collapse; table-layout:fixed">
@@ -164,7 +164,7 @@
</div>
<div id="#{clientId}_GridFooterTemplate"
class="dr-sdt-inlinebox" style="#{fStyle}; width:
#{component.attributes['width']};">
- <iframe id="#{clientId}:fs" class="dr-sdt-substrate"
src="" scrolling="no" frameborder="0" >
<br/></iframe>
+ <iframe id="#{clientId}:fs" class="dr-sdt-substrate"
src="javascript:\'\'" scrolling="no" frameborder="0"
> <br/></iframe>
<div style="display: block; width: width: #{sumWidth}px;">
<span class="dr-sdt-tmplbox dr-sdt-fb"
id="#{clientId}:footer:FrozenBox">
<table cellpadding="0" cellspacing="0"
style="border-collapse:collapse; table-layout:fixed">
Show replies by date