From 1c41e82d604005e32d122310cdf2714f02116dd8 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Thu, 17 Nov 2016 15:16:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG=EF=BC=9AautoValidate?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=AC=AC=E4=BA=8C=E4=B8=AA=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E6=B2=A1=E5=86=99=E6=97=B6=E6=8A=A5=E9=94=99=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=A4=E6=96=AD=E5=85=BC=E5=AE=B9=E4=BB=A5=E5=89=8D?= =?UTF-8?q?=E5=86=99=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Content/js/Longbow.Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Content/js/Longbow.Common.js b/Bootstrap.Admin/Content/js/Longbow.Common.js index 1b18abc7..99459d20 100644 --- a/Bootstrap.Admin/Content/js/Longbow.Common.js +++ b/Bootstrap.Admin/Content/js/Longbow.Common.js @@ -157,7 +157,7 @@ $(element).popover('show'); } }); - if ($.isArray(handler.button)) { + if (handler && $.isArray(handler.button)) { $.each(handler.button, function (index, btn) { $('#' + btn).on('click', function () { $(this).attr('data-valid', $this.valid());