ps-toolkit-ui 1.4.58 → 1.4.61

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.
@@ -2558,7 +2558,7 @@
2558
2558
  p.Area = _this.table.permissions.Area;
2559
2559
  p.Controller = _this.table.permissions.Controller;
2560
2560
  p.Action = 'sort';
2561
- new RequestClass(_this.table.environment, _this.table.l).send(p.getUrl(), exports.Method.Post, data, null, function () {
2561
+ new RequestClass(_this.table.environment, _this.table.l).send(p.getUrl().toLowerCase(), exports.Method.Post, { Ids: data }, null, function () {
2562
2562
  if (_this.table.onSort) {
2563
2563
  _this.table.onSort();
2564
2564
  }
@@ -3090,12 +3090,12 @@
3090
3090
  update: function () {
3091
3091
  var data = [];
3092
3092
  // @ts-ignore
3093
- $__namespace(_this.rows.nativeElement).sortable('toArray').forEach(function (x) { return data.push(x); });
3093
+ $__namespace(_this.rows.nativeElement).sortable('toArray').forEach(function (x) { return data.push(parseInt(x, 10)); });
3094
3094
  var p = new PermissionClass();
3095
3095
  p.Area = _this.table.permissions.Area;
3096
3096
  p.Controller = _this.table.permissions.Controller;
3097
3097
  p.Action = 'sort';
3098
- new RequestClass(_this.table.environment, _this.table.l).send(p.getUrl(), exports.Method.Post, { Ids: data }, null, function () {
3098
+ new RequestClass(_this.table.environment, _this.table.l).send(p.getUrl().toLowerCase(), exports.Method.Post, { Ids: data }, null, function () {
3099
3099
  if (_this.table.onSort) {
3100
3100
  _this.table.onSort();
3101
3101
  }