cotomy 0.1.71 → 0.1.72

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.
@@ -2637,13 +2637,6 @@ class CotomyEntityFillApiForm extends CotomyEntityApiForm {
2637
2637
  }
2638
2638
  return this;
2639
2639
  }
2640
- async submitToApiAsync(formData) {
2641
- const response = await super.submitToApiAsync(formData);
2642
- if (response.ok) {
2643
- await this.fillAsync(response);
2644
- }
2645
- return response;
2646
- }
2647
2640
  async reloadAsync() {
2648
2641
  await this.loadAsync();
2649
2642
  }
@@ -2714,6 +2707,13 @@ class CotomyEntityFillApiForm extends CotomyEntityApiForm {
2714
2707
  }
2715
2708
  this.find("textarea").forEach(e => e.input());
2716
2709
  }
2710
+ async submitToApiAsync(formData) {
2711
+ const response = await super.submitToApiAsync(formData);
2712
+ if (response.ok) {
2713
+ await this.fillAsync(response);
2714
+ }
2715
+ return response;
2716
+ }
2717
2717
  }
2718
2718
 
2719
2719
  // EXTERNAL MODULE: ./node_modules/dayjs/plugin/timezone.js