diff --git a/Bootstrap.Admin/Content/js/framework.js b/Bootstrap.Admin/Content/js/framework.js index 7456dc5e..61b0117f 100644 --- a/Bootstrap.Admin/Content/js/framework.js +++ b/Bootstrap.Admin/Content/js/framework.js @@ -30,12 +30,7 @@ $('#' + this.options.modal).on('show.bs.modal', function (e) { if (that.options.validateForm && that.options.validateForm.constructor === String) { var v = $('#' + that.options.validateForm); - var vf = v.validate(); - vf.currentElements.each(function () { - var $this = $(this); - if ($this.hasClass('tipso_style')) $this.tipso('hide').tipso('destroy'); - }) - vf.resetForm(); + v.validate().resetForm(); v.find('.has-error, .has-success').removeClass("has-error has-success"); } });