Browse Source

#42: Remove submit button from example

nghuuphuoc 11 years ago
parent
commit
cea5359101
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/submitHandler.html

+ 1 - 1
demo/submitHandler.html

@@ -66,7 +66,7 @@
                 invalid: 'glyphicon glyphicon-remove',
                 validating: 'glyphicon glyphicon-refresh'
             },
-            submitHandler: function(validator, form, submitButton) {
+            submitHandler: function(validator, form) {
                 // validator is the BootstrapValidator instance
                 // form is the jQuery object present the current form
                 form.find('.alert').html('Thanks for signing up. Now you can sign in as ' + validator.getFieldElements('username').val()).show();