EntitySpaces/entityspaces.js — Issue #4: RowStateEnum isn't defined
Author: GlennDOrr
Created: 2011-12-29 19:47:51+00:00
State: open

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();
}
};