mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 14:40:48 +00:00
Merge remote-tracking branch 'origin/tree-refresh-745'
This commit is contained in:
commit
8f6a287fb8
@ -60,8 +60,9 @@ define([
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
TreeView.prototype.loadComposition = function (domainObject) {
|
TreeView.prototype.loadComposition = function () {
|
||||||
var self = this;
|
var self = this,
|
||||||
|
domainObject = this.activeObject;
|
||||||
|
|
||||||
function addNode(domainObject, index) {
|
function addNode(domainObject, index) {
|
||||||
self.nodeViews[index].model(domainObject);
|
self.nodeViews[index].model(domainObject);
|
||||||
|
@ -167,7 +167,7 @@ define([
|
|||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
mockComposition.pop();
|
mockComposition.pop();
|
||||||
testCapabilities.mutation.listen
|
testCapabilities.mutation.listen
|
||||||
.mostRecentCall.args[0](mockDomainObject);
|
.mostRecentCall.args[0](mockDomainObject.getModel());
|
||||||
waitForCompositionCallback();
|
waitForCompositionCallback();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user