ps-toolkit-ui 1.9.52 → 1.9.53

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.
@@ -1726,13 +1726,13 @@
1726
1726
  return valid;
1727
1727
  };
1728
1728
  FormClass.prototype.clear = function () {
1729
- // this.method = Method.Post;
1730
- // this.url = this.baseUrl;
1731
- // this.setButtons(this.onTop, false);
1729
+ this.method = exports.Method.Post;
1730
+ this.url = this.baseUrl;
1731
+ this.setButtons(this.onTop, false);
1732
1732
  // this.clearInputs();
1733
- // if (this.onTop){
1734
- // this.focus();
1735
- // }
1733
+ if (this.onTop) {
1734
+ this.focus();
1735
+ }
1736
1736
  };
1737
1737
  FormClass.prototype.clearInputs = function () {
1738
1738
  this.inputs.filter(function (x) { return x.type !== exports.InputType.Constant; }).forEach(function (inp) {