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 2009/01/23 16:26:31 UTC
svn commit: r737052 -
/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/javax/faces/ajax/Ajax.js
Author: werpu
Date: Fri Jan 23 07:26:31 2009
New Revision: 737052
URL: http://svn.apache.org/viewvc?rev=737052&view=rev
Log:
readded comment https://issues.apache.org/jira/browse/MYFACES-2110
Modified:
myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/javax/faces/ajax/Ajax.js
Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/javax/faces/ajax/Ajax.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/javax/faces/ajax/Ajax.js?rev=737052&r1=737051&r2=737052&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/javax/faces/ajax/Ajax.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/javax/faces/ajax/Ajax.js Fri Jan 23 07:26:31 2009
@@ -48,12 +48,14 @@
* return a concatenated string of the encoded values!
*
* @throws an exception in case of the given element not being of type form!
+ * https://issues.apache.org/jira/browse/MYFACES-2110
*/
javax.faces.Ajax.viewState = function(formElement) {
/**
* typecheck assert!, we opt for strong typing here
* because it makes it easier to detect bugs
*/
+
if ('undefined' == typeof(formElement)
|| null == formElement
|| 'undefined' == typeof(formElement.nodeName)