mirror of
https://github.com/nasa/openmct.git
synced 2025-06-11 11:51:40 +00:00
Fixed saving
This commit is contained in:
parent
51abd1fadf
commit
564a822423
@ -125,7 +125,7 @@ define(
|
|||||||
.getObjects([domainObject.getModel().location])
|
.getObjects([domainObject.getModel().location])
|
||||||
.then(function(objs){ return doWizardSave(domainObject, objs[domainObject.getModel().location])});
|
.then(function(objs){ return doWizardSave(domainObject, objs[domainObject.getModel().location])});
|
||||||
} else {
|
} else {
|
||||||
return domainObject.getCapability("editor").save();
|
return domainObject.getCapability("editor").save().then(function(){return domainObject.getOriginalObject()});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user