You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2010/06/22 19:02:16 UTC

svn commit: r956954 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js

Author: werpu
Date: Tue Jun 22 17:02:15 2010
New Revision: 956954

URL: http://svn.apache.org/viewvc?rev=956954&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2768

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

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js?rev=956954&r1=956953&r2=956954&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js Tue Jun 22 17:02:15 2010
@@ -95,7 +95,8 @@ myfaces._impl.core._Runtime.extendClass(
             //((elementTagName == "input" || elementTagName == "textarea" || elementTagName == "select") &&
             //    (elementName != null && elementName != "")) && !element.disabled
             //
-            if (child.nodeType != 1) return false;
+            
+            if (curNode.nodeType != 1) return false;
             if (submitAll && node != curNode) return true;
 
             var id = curNode.id;