Browse Source

removed validated toggling in yii.activeForm after the form validates successfully.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
123092bf39
  1. 1
      framework/yii/assets/yii.activeForm.js

1
framework/yii/assets/yii.activeForm.js

@ -128,7 +128,6 @@
data = $form.data('yiiActiveForm');
if (data.validated) {
// continue submitting the form since validation passes
data.validated = false;
return true;
}

Loading…
Cancel
Save