You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/03/28 06:24:30 UTC

svn commit: r928334 - /myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/inputHtml/resource/myFacesUtils.js

Author: lu4242
Date: Sun Mar 28 04:24:30 2010
New Revision: 928334

URL: http://svn.apache.org/viewvc?rev=928334&view=rev
Log:
TOMAHAWK-1447 Invalid JavaScript in myFacesUtils.js in function myFacesKupuFormSubmit() (Thanks to Lutz Ulruch for provide this patch)

Modified:
    myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/inputHtml/resource/myFacesUtils.js

Modified: myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/inputHtml/resource/myFacesUtils.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/inputHtml/resource/myFacesUtils.js?rev=928334&r1=928333&r2=928334&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/inputHtml/resource/myFacesUtils.js (original)
+++ myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/inputHtml/resource/myFacesUtils.js Sun Mar 28 04:24:30 2010
@@ -97,8 +97,10 @@ function myFacesKupuFormSubmit(){
 	}
 	
 	originalFormOnSubmit = myFacesKupuOriginalFormsOnSubmits[0]; // TODO : Fix (How do we get the calling frame ??)
-	if( originalFormOnSubmit )
+	if( originalFormOnSubmit ){
 		return originalFormOnSubmit();
+	}
+	return true;
 }
 
 // Redefine or extend buggy kupu functions