myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sobr...@apache.org
Subject svn commit: r1515853 - /myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js
Date Tue, 20 Aug 2013 16:05:33 GMT
Author: sobryan
Date: Tue Aug 20 16:05:33 2013
New Revision: 1515853

URL: http://svn.apache.org/r1515853
Log:
TRINIDAD-2408 - TrPage._getTextContent is not working in IE10

Thanks for the patch Paresh

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js?rev=1515853&r1=1515852&r2=1515853&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js Tue
Aug 20 16:05:33 2013
@@ -734,6 +734,9 @@ TrPage._getTextContent = function (eleme
     var textContent = element.innerText;
     if (textContent == undefined)
       textContent = element.text;
+    // TRINIDAD-2408 : For IE10 textContent attribute can be used to get the text content.
+    else if (textContent == undefined)
+      textContent = element.textContent;
 
     return textContent;
   }



Mime
View raw message