ps-toolkit-ui 1.16.13 → 1.16.14

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.
@@ -3720,7 +3720,11 @@
3720
3720
  }
3721
3721
  }
3722
3722
  else {
3723
- new RequestClass(this.table.environment, this.table.l).send(this.table.getOptionUrl(option.Url.replace('update', 'get'), this.table.permissions.RelatedId, this.row.Data.Id), exports.Method.Post, null, opt, function (result) {
3723
+ var data = new FormData();
3724
+ if (this.table.hasChildren) {
3725
+ data.append('Level', this.level.toString());
3726
+ }
3727
+ new RequestClass(this.table.environment, this.table.l).send(this.table.getOptionUrl(option.Url.replace('update', 'get'), this.table.permissions.RelatedId, this.row.Data.Id), exports.Method.Post, data, opt, function (result) {
3724
3728
  _this.table.form.name = opt.name;
3725
3729
  _this.table.form.setData(result);
3726
3730
  _this.table.form.setButtons(_this.table.form.onTop, true, false, true, _this.row.Data.Id);