myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r997598 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
Date Thu, 16 Sep 2010 06:20:53 GMT
Author: lu4242
Date: Thu Sep 16 06:20:53 2010
New Revision: 997598

URL: http://svn.apache.org/viewvc?rev=997598&view=rev
Log:
missing .toLowerCase() on comparison for _Dom._isTableElement() function

Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js?rev=997598&r1=997597&r2=997598&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
(original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
Thu Sep 16 06:20:53 2010
@@ -247,7 +247,7 @@ myfaces._impl.core._Runtime.singletonExt
      * @param innerOnly
      */
     _isTableElement: function(item) {
-        var itemNodeName = item.nodeName || item.tagName;
+        var itemNodeName = (item.nodeName || item.tagName).toLowerCase();
 
         return itemNodeName == "table" || itemNodeName == "thead" ||
                 itemNodeName == "tbody" || itemNodeName == "tfoot" ||



Mime
View raw message