[UI] Progress indicator for pending operations (e.g. duplicate) #249- Fixed serious issue with persistence

This commit is contained in:
Henry 2015-11-05 11:38:41 -08:00
parent 43e920d3b6
commit 5b3f780204

View File

@ -92,7 +92,7 @@ define(
var modelClone = {
id: uuid(),
model: makeClone(originalObject.getModel()),
persistenceSpace: originalParent.getCapability('persistence')
persistenceSpace: originalParent.hasCapability('persistence') && originalParent.getCapability('persistence').getSpace()
};
delete modelClone.model.composition;
delete modelClone.model.persisted;