Commit 123092bf by Qiang Xue

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

parent 83623851
...@@ -128,7 +128,6 @@ ...@@ -128,7 +128,6 @@
data = $form.data('yiiActiveForm'); data = $form.data('yiiActiveForm');
if (data.validated) { if (data.validated) {
// continue submitting the form since validation passes // continue submitting the form since validation passes
data.validated = false;
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment