Skip to content

Commit

Permalink
inconsistent error callback
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed May 8, 2014
1 parent 62b4950 commit 2a3efba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down Expand Up @@ -1032,4 +1032,4 @@
return this;
};

}(jQuery));
}(jQuery));

0 comments on commit 2a3efba

Please sign in to comment.