Author: akushunin
Date: 2008-01-09 05:23:38 -0500 (Wed, 09 Jan 2008)
New Revision: 5209
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1641
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js
===================================================================
---
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js 2008-01-09
08:19:50 UTC (rev 5208)
+++
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Substrate.js 2008-01-09
10:23:38 UTC (rev 5209)
@@ -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:
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
===================================================================
---
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2008-01-09
08:19:50 UTC (rev 5208)
+++
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2008-01-09
10:23:38 UTC (rev 5209)
@@ -88,7 +88,7 @@
<div id="#{clientId}:c" style="height: 100%; position:
relative;">
<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">
@@ -178,7 +178,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">