ps-toolkit-ui 1.16.51 → 1.16.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3825,6 +3825,9 @@
3825
3825
  var _this = this;
3826
3826
  $__namespace('body').removeClass('open-modal');
3827
3827
  $__namespace('#' + this.id + 'Modal').fadeOut(300, function () {
3828
+ if (_this.onHide) {
3829
+ _this.onHide();
3830
+ }
3828
3831
  if (_this.form && _this.form.name !== 'Confirm' && _this.form.name !== 'Alert') {
3829
3832
  _this.form.clear();
3830
3833
  if (_this.form.onHideModal) {
@@ -3834,9 +3837,6 @@
3834
3837
  if (_this.table && _this.table.form) {
3835
3838
  _this.table.form.clear();
3836
3839
  }
3837
- if (_this.onHide) {
3838
- _this.onHide();
3839
- }
3840
3840
  });
3841
3841
  };
3842
3842
  return ModalClass;