mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
fixed adhoc verbosity default parameter in ui
This commit is contained in:
parent
e1bf7ea749
commit
537ab3b317
@ -87,6 +87,8 @@ export function AdhocCtrl($scope, $rootScope, $location, $routeParams,
|
||||
choicesReadyCount++;
|
||||
|
||||
if (choicesReadyCount === 2) {
|
||||
// this sets the default option as specified by the controller.
|
||||
$scope.verbosity = $scope.adhoc_verbosity_options[$scope.verbosity_field.default];
|
||||
$scope.$emit('lookUpInitialize');
|
||||
}
|
||||
});
|
||||
|
||||
@ -98,6 +98,7 @@ export default
|
||||
ngOptions: 'verbosity.label for verbosity in ' +
|
||||
'adhoc_verbosity_options ' +
|
||||
'track by verbosity.value',
|
||||
"default": 1,
|
||||
editRequired: true,
|
||||
awPopOver:'<p>These are the verbosity levels for standard ' +
|
||||
'out of the command run that are supported.',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user