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