Closed ghost closed 12 years ago
Changed markAsDeleted from :
this.markAsDeleted = function () { var entity = this; if (!entity.hasOwnProperty("RowState")) { entity.RowState = ko.observable(es.RowStateEnum.deleted); } else if (entity.RowState() !== es.RowStateEnum.deleted) { entity.RowState(es.RowStateEnum.deleted); } if (entity.hasOwnProperty("ModifiedColumns")) { entity.ModifiedColumns.removeAll(); } };
to:
this.markAsDeleted = function () { var entity = this; if (!entity.hasOwnProperty("RowState")) { entity.RowState = ko.observable(es.RowState.DELETED); } else if (entity.RowState() !== es.RowState.DELETED) { entity.RowState(es.RowState.DELETED); } if (entity.hasOwnProperty("ModifiedColumns")) { entity.ModifiedColumns.removeAll(); } };
Thank you, good catch, this has been fixed
Changed markAsDeleted from :
to: