Merge pull request #2066 from leigh-johnson/JobTemplateCloudCredentialLookup

Fix Cloud Credential lookup modal in Job Template > Add/Edit
This commit is contained in:
Akita Noek
2016-05-31 16:42:39 -04:00
2 changed files with 2 additions and 0 deletions

View File

@@ -72,6 +72,7 @@
jQuery.extend(true, CloudCredentialList, CredentialList); jQuery.extend(true, CloudCredentialList, CredentialList);
CloudCredentialList.name = 'cloudcredentials'; CloudCredentialList.name = 'cloudcredentials';
CloudCredentialList.iterator = 'cloudcredential'; CloudCredentialList.iterator = 'cloudcredential';
CloudCredentialList.basePath = '/api/v1/credentials?cloud=true';
SurveyControllerInit({ SurveyControllerInit({
scope: $scope, scope: $scope,

View File

@@ -288,6 +288,7 @@ export default
jQuery.extend(true, CloudCredentialList, CredentialList); jQuery.extend(true, CloudCredentialList, CredentialList);
CloudCredentialList.name = 'cloudcredentials'; CloudCredentialList.name = 'cloudcredentials';
CloudCredentialList.iterator = 'cloudcredential'; CloudCredentialList.iterator = 'cloudcredential';
CloudCredentialList.basePath = '/api/v1/credentials?cloud=true';
LookUpInit({ LookUpInit({
url: GetBasePath('credentials') + '?cloud=true', url: GetBasePath('credentials') + '?cloud=true',
scope: $scope, scope: $scope,