[Edit] EditorCapability.finish returns domainObj

This commit is contained in:
Alex M 2016-09-19 20:33:12 +03:00
parent b50278e92f
commit f60fc2ebad

View File

@ -103,6 +103,7 @@ define(
var domainObject = this.domainObject;
return this.transactionService.cancel().then(function () {
domainObject.getCapability("status").set("editing", false);
return domainObject;
});
};