nghuuphuoc 11 年 前
コミット
ebb70fa551

+ 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,