ps-toolkit-ui 1.9.65 → 1.9.66

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.
@@ -1679,6 +1679,7 @@
1679
1679
  this.onLoad = null;
1680
1680
  this.onBeforeSubmit = null;
1681
1681
  this.onHideModal = null;
1682
+ this.onShowModal = null;
1682
1683
  this.environment = environment;
1683
1684
  this.l = l;
1684
1685
  this.url = url;
@@ -3158,6 +3159,9 @@
3158
3159
  $__namespace('body').addClass('open-modal');
3159
3160
  $__namespace('#' + this.id + 'Modal').fadeIn(300, function () {
3160
3161
  if (_this.form != null) {
3162
+ if (_this.form.onShowModal) {
3163
+ _this.form.onShowModal();
3164
+ }
3161
3165
  _this.form.focus();
3162
3166
  }
3163
3167
  });