supply query url to search directive in cloud credential lookup modal in job template > edit/add, resolves #1645

This commit is contained in:
Leigh Johnson 2016-05-26 12:14:12 -04:00
parent 51dc42af2f
commit 9c6b1e534e
2 changed files with 2 additions and 0 deletions

View File

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

View File

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