From 9b194946c331f26f053cd995d5d108c413340e96 Mon Sep 17 00:00:00 2001 From: halcyon <864072399@qq.com> Date: Wed, 21 Jan 2015 18:54:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E7=BB=84?= =?UTF-8?q?=E4=B8=8D=E9=80=89=E6=B2=A1=E6=9C=89=E6=8F=90=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/jasset/host_add.html | 4 ++-- templates/jasset/host_edit.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/jasset/host_add.html b/templates/jasset/host_add.html index 24ee3a98e..dc862a315 100644 --- a/templates/jasset/host_add.html +++ b/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)", diff --git a/templates/jasset/host_edit.html b/templates/jasset/host_edit.html index 0d70ccd77..d3a3f2f00 100644 --- a/templates/jasset/host_edit.html +++ b/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)",