修改BUG:根据最新的jQuery.validate.js增加this.settings.errorClass调用

This commit is contained in:
Argo-Lenovo 2017-03-21 18:10:32 +08:00
parent 6d5b04b288
commit a92fc2d603
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@
if (!$ele.attr('data-original-title')) $ele.lgbTooltip({ container: parent });
$ele.attr('data-original-title', $(label).text());
$ele.lgbTooltip('show');
$('#' + $ele.attr('aria-describedby')).addClass(this.errorClass);
$('#' + $ele.attr('aria-describedby')).addClass(this.settings.errorClass);
}
});
if (handler && $.isArray(handler.button)) {