ps-toolkit-ui 0.0.118 → 0.0.119
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.
- package/bundles/ps-toolkit-ui.umd.js +2 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/table/row/table.row.component.js +3 -4
- package/fesm2015/ps-toolkit-ui.js +2 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2819,9 +2819,8 @@
|
|
|
2819
2819
|
};
|
|
2820
2820
|
TableRowComponent.prototype.edit = function (opt) {
|
|
2821
2821
|
var _this = this;
|
|
2822
|
-
var editAccess = this.table.permissions.getAccess('Update');
|
|
2823
2822
|
if (this.table.permissions.Type === exports.PermissionTypeEnum.Form) {
|
|
2824
|
-
this.table.form.name =
|
|
2823
|
+
this.table.form.name = opt.name;
|
|
2825
2824
|
this.table.form.setData(this.row.Data);
|
|
2826
2825
|
this.table.form.setButtons(this.table.form.onTop, true, this.row.Data.Id);
|
|
2827
2826
|
this.table.form.inputs.filter(function (x) { return x.inEditDisabled; }).forEach(function (x) { return x.disabled = true; });
|
|
@@ -2829,7 +2828,7 @@
|
|
|
2829
2828
|
}
|
|
2830
2829
|
else {
|
|
2831
2830
|
new RequestClass(this.table.environment, this.table.l).send(this.table.url + 'Get/' + this.row.Data.Id, exports.Method.Post, null, opt, function (result) {
|
|
2832
|
-
_this.table.form.name =
|
|
2831
|
+
_this.table.form.name = opt.name;
|
|
2833
2832
|
_this.table.form.setButtons(_this.table.form.onTop, true, _this.row.Data.Id);
|
|
2834
2833
|
_this.table.form.setData(result);
|
|
2835
2834
|
_this.table.form.inputs.filter(function (x) { return x.inEditDisabled; }).forEach(function (x) { return x.disabled = true; });
|