修改BUG:根据最新的jQuery.validate.js增加this.settings.errorClass调用
This commit is contained in:
parent
6d5b04b288
commit
a92fc2d603
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue