[Edit] Don't refresh unpersisted objects

This commit is contained in:
Victor Woeltjen 2016-06-22 15:40:38 -07:00
parent e42b8d22f7
commit a3a0f003f0

View File

@ -152,6 +152,10 @@ define(
}, modified);
}
if (domainObject.getModel().persisted === undefined) {
return this.$q.when(true);
}
return this.persistenceService.readObject(
this.getSpace(),
this.getKey()