mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
@@ -392,6 +392,7 @@ export function ProjectsAdd(Refresh, $scope, $rootScope, $compile, $location, $l
|
||||
master = {};
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList = _.cloneDeep(CredentialList);
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
generator.inject(form, { mode: 'add', related: false, scope: $scope });
|
||||
@@ -571,6 +572,7 @@ export function ProjectsEdit($scope, $rootScope, $compile, $location, $log,
|
||||
relatedSets = {};
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList = _.cloneDeep(CredentialList);
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ angular.module('JobTemplatesHelper', ['Utilities'])
|
||||
return function(params) {
|
||||
|
||||
var scope = params.scope,
|
||||
CredentialList = _.cloneDeep(CredentialList),
|
||||
defaultUrl = GetBasePath('job_templates'),
|
||||
// generator = GenerateForm,
|
||||
form = JobTemplateForm(),
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
form = GroupForm();
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList = _.cloneDeep(CredentialList);
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
$scope.formCancel = function(){
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
form = GroupForm();
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList = _.cloneDeep(CredentialList);
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
$scope.formCancel = function(){
|
||||
|
||||
@@ -47,6 +47,7 @@ export default
|
||||
choicesCount = 0;
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList = _.cloneDeep(CredentialList);
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
CallbackHelpInit({ scope: $scope });
|
||||
@@ -471,7 +472,7 @@ export default
|
||||
});
|
||||
}
|
||||
else {
|
||||
// job template doesn't exist
|
||||
// job template doesn't exist
|
||||
$scope.$emit("choicesReady");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user