formValidator 的bug修改
作者:随风 日期:2009-11-27 15:27:27
将formValidator的初始化参数的onshow设置为空后,验证会失效,解决办法找到代码:157行左右,增加一句tip.show();
前后的代码为:
if(showmsg==null || showmsg=="")
{
tip.hide();
}
else
{
tip.show();
if(initConfig.tidymode)
{
//显示和保存提示信息
$("#fv_content").html(showmsg);
elem.Tooltip = showmsg;
if(showclass!="onError"){tip.hide();}
}
前后的代码为:
if(showmsg==null || showmsg=="")
{
tip.hide();
}
else
{
tip.show();
if(initConfig.tidymode)
{
//显示和保存提示信息
$("#fv_content").html(showmsg);
elem.Tooltip = showmsg;
if(showclass!="onError"){tip.hide();}
}
评论: 0 | 引用: 0 | 查看次数: 520
发表评论
订阅
上一篇
下一篇
文章来自:
Tags: