mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 03:26:36 +08:00
Fixes #6361
This commit is contained in:
@ -229,7 +229,7 @@
|
|||||||
|
|
||||||
// manually trigger the validation of the attribute with the specified ID
|
// manually trigger the validation of the attribute with the specified ID
|
||||||
validateAttribute: function (id) {
|
validateAttribute: function (id) {
|
||||||
var attribute = methods.find(id);
|
var attribute = methods.find.call(this, id);
|
||||||
if (attribute != undefined) {
|
if (attribute != undefined) {
|
||||||
validateAttribute($(this), attribute, true);
|
validateAttribute($(this), attribute, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user