diff --git a/query-builder.js b/query-builder.js index 794ad28c..268526a3 100644 --- a/query-builder.js +++ b/query-builder.js @@ -710,7 +710,7 @@ filter.onValidationError.call(this, $rule, error, value, filter, operator); } if (this.settings.onValidationError) { - this.settings.onValidationError.call(this, $rule, value, error, filter, operator); + this.settings.onValidationError.call(this, $rule, error, value, filter, operator); } var e = jQuery.Event('validationError.queryBuilder', { @@ -1032,4 +1032,4 @@ return this; }; -}(jQuery)); \ No newline at end of file +}(jQuery));