myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1789990 - in /myfaces/trinidad/trunk/trinidad-impl/src/main: javascript/META-INF/adf/jsLibs/Window.js resources/META-INF/trinidad-version.txt
Date Mon, 03 Apr 2017 13:17:35 GMT
Author: bommel
Date: Mon Apr  3 13:17:35 2017
New Revision: 1789990

URL: http://svn.apache.org/viewvc?rev=1789990&view=rev
Log:
TRINIDAD-2543
Modal dialog doesn't mask the Parent Window on Chrome browsers
Thank to Deepan Chakkaravarthy  for the report

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Window.js
    myfaces/trinidad/trunk/trinidad-impl/src/main/resources/META-INF/trinidad-version.txt

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Window.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Window.js?rev=1789990&r1=1789989&r2=1789990&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Window.js
(original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Window.js
Mon Apr  3 13:17:35 2017
@@ -281,11 +281,11 @@ function openWindow(
           dimmerStyle.position = "absolute";
           dimmerStyle.zIndex = "32000";
           dimmerStyle.backgroundColor = "#FFFFFF";
-		  // IE 9 and greater won't support alpha(opacity)
-		  if (_agent.isIE && _agent.version < 9) {
-			dimmerStyle.filter = "alpha(opacity=50)";
-		  } else if (_agent.isIE && _agent.version >= 9 || _agent.isSafari) {
-			  dimmerStyle.opacity = "0.5";
+		  // prefer opacity usage
+          if (dimmerStyle.opacity != 'undefined') {
+              dimmerStyle.opacity = "0.5";
+		  } else if (dimmerStyle.filter != 'undefined') {
+              dimmerStyle.filter = "alpha(opacity=50)";
 		  }
           // Position the dimmer element, account for scrolling:
           var docElement = parentDoc.documentElement;

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/resources/META-INF/trinidad-version.txt
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/resources/META-INF/trinidad-version.txt?rev=1789990&r1=1789989&r2=1789990&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/resources/META-INF/trinidad-version.txt
(original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/resources/META-INF/trinidad-version.txt
Mon Apr  3 13:17:35 2017
@@ -1 +1 @@
-2_0_0_beta_2
+2_1_3_SNAPSHOT



Mime
View raw message