Permalink
Browse files

CActiveForm validateOnType fix (introduced in r3529)

  • Loading branch information...
1 parent aac0b39 commit 62ccd12fe0991ed449970c949e64609543962fae mdomba committed Jan 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/web/js/source/jquery.yiiactiveform.js
@@ -119,7 +119,7 @@
}
if (this.validateOnType) {
$form.find('#' + this.inputID).keyup(function () {
- if (attribute.value !== getAFValue($(attribute))) {
+ if (attribute.value !== getAFValue($(this))) {
validate(attribute, false);
}
});

0 comments on commit 62ccd12

Please sign in to comment.