mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Fixed Position] Begin adding placeholder toolbar
Begin adding placeholder toolbar for fixed position view, WTD-879.
This commit is contained in:
parent
db2f2eb098
commit
7a680873e3
@ -25,8 +25,9 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"property": "add",
|
||||
"control": "button"
|
||||
"method": "add",
|
||||
"control": "button",
|
||||
"text": "Add"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -194,6 +194,14 @@ define(
|
||||
// Initialize styles (position etc.) for cells
|
||||
refreshCellStyles();
|
||||
|
||||
if (Array.isArray($scope.selection)) {
|
||||
$scope.selection.push({
|
||||
add: function () {
|
||||
window.alert("Placeholder; not yet implemented");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
/**
|
||||
* Get styles for all background cells, as will populate the
|
||||
|
Loading…
x
Reference in New Issue
Block a user