ps-toolkit-ui 1.15.81 → 1.15.83

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.
@@ -2210,9 +2210,11 @@
2210
2210
  this.url = this.baseUrl;
2211
2211
  this.setButtons(this.onTop, false, insertAccess, false);
2212
2212
  this.clearInputs();
2213
- if (this.onTop) {
2213
+ console.log(this, this.isEdit);
2214
+ if (this.onTop && !this.isEdit) {
2214
2215
  this.focus();
2215
2216
  }
2217
+ this.isEdit = false;
2216
2218
  };
2217
2219
  FormClass.prototype.clearInputs = function () {
2218
2220
  this.inputs.filter(function (x) { return x.type !== exports.InputType.Constant; }).forEach(function (inp) {