Browse Source

修改添加组不选没有提示bug

pull/6/head
halcyon 10 years ago
parent
commit
9b194946c3
  1. 4
      templates/jasset/host_add.html
  2. 4
      templates/jasset/host_edit.html

4
templates/jasset/host_add.html

@ -164,10 +164,10 @@ $('#assetForm').validator({
msg: {required: "必须填写!"}
},
"j_group": {
rule: "required",
rule: "checked",
tip: "选择业务组",
ok: "",
msg: {required: "至少选择一个组"}
msg: {checked: "至少选择一个组"}
},
"j_user": {
rule: "required(type_m)",

4
templates/jasset/host_edit.html

@ -175,10 +175,10 @@ $('#assetForm').validator({
msg: {required: "必须填写!"}
},
"j_group": {
rule: "required",
rule: "checked",
tip: "选择业务组",
ok: "",
msg: {required: "至少选择一个组"}
msg: {checked: "至少选择一个组"}
},
"j_user": {
rule: "required(type_m)",

Loading…
Cancel
Save