From 770d65a052a49b91cfff428daf357541da732a9d Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 2 Feb 2015 12:27:27 -0500 Subject: [PATCH] Fixes #6361 --- framework/assets/yii.activeForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/assets/yii.activeForm.js b/framework/assets/yii.activeForm.js index a72a05e6a2..ace419f618 100644 --- a/framework/assets/yii.activeForm.js +++ b/framework/assets/yii.activeForm.js @@ -229,7 +229,7 @@ // manually trigger the validation of the attribute with the specified ID validateAttribute: function (id) { - var attribute = methods.find(id); + var attribute = methods.find.call(this, id); if (attribute != undefined) { validateAttribute($(this), attribute, true); }