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());