click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r992577 - /click/trunk/click/framework/src/META-INF/resources/click/control.js
Date Sat, 04 Sep 2010 10:45:29 GMT
Author: sabob
Date: Sat Sep  4 10:45:29 2010
New Revision: 992577

URL: http://svn.apache.org/viewvc?rev=992577&view=rev
Log:
first argument is form instance, not form name.

Modified:
    click/trunk/click/framework/src/META-INF/resources/click/control.js

Modified: click/trunk/click/framework/src/META-INF/resources/click/control.js
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/META-INF/resources/click/control.js?rev=992577&r1=992576&r2=992577&view=diff
==============================================================================
--- click/trunk/click/framework/src/META-INF/resources/click/control.js (original)
+++ click/trunk/click/framework/src/META-INF/resources/click/control.js Sat Sep  4 10:45:29
2010
@@ -393,7 +393,7 @@ function validateForm(msgs, id, align, s
  */
 Click.submit=function(form, validate) {
     if (typeof form == 'undefined') {
-        alert('Error: form is undefined. Usage: Click.submit(formName)');
+        alert('Error: form is undefined. Usage: Click.submit(form)');
         return false;
     }
 



Mime
View raw message