Fixed creation

This commit is contained in:
Henry
2016-04-20 17:43:26 -07:00
parent 836b5db8cf
commit 5bf750c90c
3 changed files with 11 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ define(
// during editing.
function doSave() {
return domainObject.getCapability("editor").save()
.then(resolveWith(domainObject.getOriginalObject()));
.then(resolveWith(domainObject));
}
// Discard the current root view (which will be the editing