[Transaction] Sync mutation within transaction

This commit is contained in:
Pete Richards
2016-11-08 10:34:20 -08:00
parent 9578fb0cd8
commit 2708562872
2 changed files with 26 additions and 3 deletions

View File

@@ -171,7 +171,9 @@ define([
function finishEditing(clonedObject) {
return domainObject.getCapability("editor").finish()
.then(resolveWith(clonedObject));
.then(function () {
return fetchObject(clonedObject.getId());
});
}
function onFailure() {