Author: pyaschenko
Date: 2009-05-06 08:46:12 -0400 (Wed, 06 May 2009)
New Revision: 14033
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
Log:
https://jira.jboss.org/jira/browse/RF-6968
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
===================================================================
---
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss 2009-05-06
12:40:11 UTC (rev 14032)
+++
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss 2009-05-06
12:46:12 UTC (rev 14033)
@@ -132,7 +132,6 @@
position: absolute;
height: 100%;
width: 100%;
- border : 1px solid;
z-index: -1;
top: 4px;
left: 4px;
@@ -171,7 +170,6 @@
<u:selector name=".dr-mpnl-shadow">
<u:style name="background-color" skin="shadowBackgroundColor"
/>
- <u:style name="border-color" skin="shadowBackgroundColor"
/>
</u:selector>
</f:template>
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
---
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2009-05-06
12:40:11 UTC (rev 14032)
+++
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2009-05-06
12:46:12 UTC (rev 14033)
@@ -648,7 +648,6 @@
}
element.style.visibility = "hidden";
-
Element.show(element);
this.correctShadowSize();
@@ -1060,7 +1059,7 @@
Richfaces.showModalPanel = function (id, opts, event) {
var invoke =
- (RichFaces.MSIE == RichFaces.navigatorType()) ?
+ (Richfaces.browser.isIE || Richfaces.browser.isSafari) ?
function(f) {
if (document.readyState != "complete") {
var args = arguments;