We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b598b34 commit 95c7f65Copy full SHA for 95c7f65
jquery.validate.js
@@ -953,8 +953,8 @@ $.extend($.validator, {
953
validator.showErrors();
954
} else {
955
var errors = {};
956
- var message = (previous.message = response || validator.defaultMessage( element, "remote" ));
957
- errors[element.name] = $.isFunction(message) ? message(value) : message;
+ var message = response || validator.defaultMessage( element, "remote" );
+ errors[element.name] = previous.message = $.isFunction(message) ? message(value) : message;
958
validator.showErrors(errors);
959
}
960
previous.valid = valid;
0 commit comments