Skip to content

Commit 3e78d38

Browse files
committed
Changed jQuery required version
1 parent 7f7d3fc commit 3e78d38

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

html5-form-validation.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
"docs": "http://www.runningcoder.org/jqueryvalidation/documentation/",
2626
"demo": "http://www.runningcoder.org/jqueryvalidation/demo/",
2727
"dependencies": {
28-
"jquery": ">=1.6"
28+
"jquery": ">=1.7.2"
2929
}
3030
}

jquery.validation-1.0.1.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@
227227
}
228228
}
229229

230+
// @TODO Would there be a better fix to solve event conflict?
231+
if (tpmOptions.dynamic.settings.trigger) {
232+
if (tpmOptions.dynamic.settings.trigger === "keypress" && tpmOptions.submit.settings.clear === "keypress") {
233+
tpmOptions.dynamic.settings.trigger = "keydown";
234+
}
235+
}
236+
230237
options = tpmOptions;
231238

232239
}

0 commit comments

Comments
 (0)