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 6422dfb commit 49ce4feCopy full SHA for 49ce4fe
src/modules/toggleDisabled.js
@@ -33,7 +33,7 @@
33
showErrorDialogs = conf.showErrorDialogs === undefined || conf.showErrorDialogs,
34
afterValidationCallback = function(evt, result, evtContext) {
35
var $this = $(this);
36
- if (evtContext.indexOf('blur') > -1) {
+ if (evtContext && evtContext.indexOf('blur') > -1) {
37
$this.unbind('afterValidation', afterValidationCallback);
38
} else {
39
if (result.isValid) {
0 commit comments