修正(saveAndAudit)角色用户新增配置出现保护名单提示后无法提交bug

This commit is contained in:
zhangwenqing
2019-04-22 18:47:06 +08:00
committed by duandongmei
parent 6f83f45d6e
commit cd4bd32b3f

View File

@@ -1800,9 +1800,9 @@ function protectedListWarn(obj,tagKey,flag){
$.jBox.close();
$(obj).parents("form:first").find("button[type='submit']").attr("type","button");
$.jBox.info($.validator.messages.protect_warn,$.validator.messages.info, {closed:function(v,h,f){
$(obj).parents("form:first").find("button[id='save'],[id='audit']").attr("type","submit");
$(obj).attr("onblur",blurCopy);
$(obj).attr("onkeypress",keypressCopy);
$(obj).parents("form:first").find("button[id='save']").attr("type","submit");
}});
$('.jbox-body .jbox-icon').css('top','55px');