mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
This commit is contained in:
parent
5c32b17aea
commit
c60b8986de
@ -391,6 +391,9 @@ export function ProjectsAdd(Refresh, $scope, $rootScope, $compile, $location, $l
|
||||
defaultUrl = GetBasePath('projects'),
|
||||
master = {};
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
generator.inject(form, { mode: 'add', related: false, scope: $scope });
|
||||
generator.reset();
|
||||
|
||||
@ -567,6 +570,10 @@ export function ProjectsEdit($scope, $rootScope, $compile, $location, $log,
|
||||
id = $stateParams.id,
|
||||
relatedSets = {};
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
|
||||
SchedulesList.well = false;
|
||||
generator.inject(form, {
|
||||
mode: 'edit',
|
||||
|
||||
@ -163,6 +163,8 @@ angular.module('JobTemplatesHelper', ['Utilities'])
|
||||
});
|
||||
|
||||
CredentialList.basePath = GetBasePath('credentials') + '?kind=ssh';
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
LookUpInit({
|
||||
url: GetBasePath('credentials') + '?kind=ssh',
|
||||
|
||||
@ -12,6 +12,9 @@
|
||||
var generator = GenerateForm,
|
||||
form = GroupForm();
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
$scope.formCancel = function(){
|
||||
$state.go('^');
|
||||
};
|
||||
|
||||
@ -13,6 +13,10 @@
|
||||
GroupManageService, GetChoices, GetBasePath, CreateSelect2, GetSourceTypeOptions, groupData, inventorySourceData){
|
||||
var generator = GenerateForm,
|
||||
form = GroupForm();
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
$scope.formCancel = function(){
|
||||
$state.go('^');
|
||||
};
|
||||
|
||||
@ -34,6 +34,9 @@
|
||||
base = $location.path().replace(/^\//, '').split('/')[0],
|
||||
context = (base === 'job_templates') ? 'job_template' : 'inv';
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
CallbackHelpInit({ scope: $scope });
|
||||
$scope.can_edit = true;
|
||||
generator.inject(form, { mode: 'add', related: false, scope: $scope });
|
||||
@ -82,6 +85,7 @@
|
||||
NetworkCredentialList.iterator = 'networkcredential';
|
||||
NetworkCredentialList.basePath = '/api/v1/credentials?kind=net';
|
||||
|
||||
|
||||
SurveyControllerInit({
|
||||
scope: $scope,
|
||||
parent_scope: $scope
|
||||
|
||||
@ -46,6 +46,8 @@ export default
|
||||
checkSCMStatus, getPlaybooks, callback,
|
||||
choicesCount = 0;
|
||||
|
||||
// remove "type" field from search options
|
||||
CredentialList.fields.kind.noSearch = true;
|
||||
|
||||
CallbackHelpInit({ scope: $scope });
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user