mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
[Treeview] Open in new tab settings
When an object is opened in a new tab, the left pane will be closed by default. Otherwise it will be open by default. #72.
This commit is contained in:
@ -31,6 +31,7 @@ define(
|
||||
var mockScope,
|
||||
mockLocation,
|
||||
mockRoute,
|
||||
mockWindow,
|
||||
mockUnlisten,
|
||||
controller;
|
||||
|
||||
@ -50,6 +51,7 @@ define(
|
||||
);
|
||||
mockScope.ngModel = {};
|
||||
mockRoute = { current: { params: {} } };
|
||||
mockWindow = {};
|
||||
mockLocation = jasmine.createSpyObj(
|
||||
"$location",
|
||||
[ "path", "search" ]
|
||||
@ -61,7 +63,8 @@ define(
|
||||
controller = new BrowseObjectController(
|
||||
mockScope,
|
||||
mockLocation,
|
||||
mockRoute
|
||||
mockRoute,
|
||||
mockWindow
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user