mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 14:48:13 +00:00
[Fixed Position] Add text, image properties
Add buttons for text, image properties to the Fixed Position toolbar, WTD-881.
This commit is contained in:
@ -25,8 +25,12 @@ define(
|
||||
|
||||
// Prompt for user input
|
||||
function showDialog() {
|
||||
dialogService.getUserInput(buttonForm, $scope.ngModel)
|
||||
.then(storeResult);
|
||||
// Prepare initial state
|
||||
var state = {};
|
||||
state[$scope.field] = $scope.ngModel[$scope.field];
|
||||
|
||||
// Show dialog, then store user input (if any)
|
||||
dialogService.getUserInput(buttonForm, state).then(storeResult);
|
||||
}
|
||||
|
||||
// Refresh state based on structure for this control
|
||||
|
Reference in New Issue
Block a user