mirror of
https://github.com/nasa/openmct.git
synced 2024-12-29 17:38:53 +00:00
[Windowing] Added new window button
Currently overwrites metadata similar to the FullScreenAction in order to temporarily display the new window button until the css is modified to do so. WTD-16
This commit is contained in:
parent
6a35476872
commit
2fbfcc1333
@ -43,6 +43,17 @@ define(
|
||||
*/
|
||||
perform: function () {
|
||||
$window.alert("Not yet functional. This will open objects in a new window.");
|
||||
},
|
||||
|
||||
getMetadata: function () {
|
||||
// We override getMetadata, this is temporary
|
||||
// Until the css/html code views the button on
|
||||
// its own
|
||||
var metadata = Object.create(NewWindowAction);
|
||||
metadata.glyph = "y";
|
||||
metadata.description = "ENTER DESC HERE";
|
||||
metadata.group = "windowing";
|
||||
return metadata;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user