ps-toolkit-ui 1.5.18 → 1.5.19

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.
@@ -3160,12 +3160,11 @@
3160
3160
  $__namespace(_this.rows.nativeElement).sortable('toArray', { attribute: 'data-id' }).forEach(function (x) {
3161
3161
  data.push(parseInt(x, 10));
3162
3162
  });
3163
- console.log(_this.table);
3164
- console.log(_this.table.permissions);
3165
3163
  var p = new PermissionClass();
3166
3164
  p.Area = _this.table.permissions.Area;
3167
3165
  p.Controller = _this.table.permissions.Controller;
3168
- p.Action = 'sort';
3166
+ p.RelatedId = _this.table.permissions.RelatedId;
3167
+ p.Action = _this.table.permissions.Action + '-sort';
3169
3168
  new RequestClass(_this.table.environment, _this.table.l).send(p.getUrl().toLowerCase(), exports.Method.Post, { Ids: data }, null, function () {
3170
3169
  if (_this.table.onSort) {
3171
3170
  _this.table.onSort();