cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r332992 - /cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js
Date Sun, 13 Nov 2005 13:29:27 GMT
Author: antonio
Date: Sun Nov 13 05:29:25 2005
New Revision: 332992

URL: http://svn.apache.org/viewcvs?rev=332992&view=rev
Log:
The function must return if the build query fails. It happens when there is an upload widget.

Modified:
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js?rev=332992&r1=332991&r2=332992&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js (original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/resources/js/cforms.js Sun Nov
13 05:29:25 2005
@@ -62,6 +62,7 @@
             if (!query) {
                 // Some inputs are not ajax-compatible. Fall back to full page reload
                 form.submit();
+                return;
             }
 
             // Provide feedback that something is happening.



Mime
View raw message