nghuuphuoc 11 年之前
父节点
当前提交
ebb70fa551
共有 3 个文件被更改,包括 8 次插入6 次删除
  1. 3 2
      dist/js/bootstrapValidator.js
  2. 2 2
      dist/js/bootstrapValidator.min.js
  3. 3 2
      src/js/bootstrapValidator.js

+ 3 - 2
dist/js/bootstrapValidator.js

@@ -123,9 +123,10 @@
         // The custom submit handler
         // It will prevent the form from the default submission
         //
-        //  submitHandler: function(validator, form) {
+        //  submitHandler: function(validator, form, submitButton) {
         //      - validator is the BootstrapValidator instance
-        //      - form is the jQuery object present the current form
+        //      - form is the jQuery object presenting the current form
+        //      - submitButton is the jQuery object presenting the clicked button
         //  }
         submitHandler: null,
 

文件差异内容过多而无法显示
+ 2 - 2
dist/js/bootstrapValidator.min.js


+ 3 - 2
src/js/bootstrapValidator.js

@@ -122,9 +122,10 @@
         // The custom submit handler
         // It will prevent the form from the default submission
         //
-        //  submitHandler: function(validator, form) {
+        //  submitHandler: function(validator, form, submitButton) {
         //      - validator is the BootstrapValidator instance
-        //      - form is the jQuery object present the current form
+        //      - form is the jQuery object presenting the current form
+        //      - submitButton is the jQuery object presenting the clicked button
         //  }
         submitHandler: null,