Fixes for AC-715 'adding cloud credentials to job_template' and AC-721 'this.scope not defined'

This commit is contained in:
Chris Houseknecht
2013-11-22 21:28:09 +00:00
parent 9d1bc65233
commit 9171382894
9 changed files with 45 additions and 37 deletions

View File

@@ -483,6 +483,10 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
{ hdr: 'Error!', msg: 'Failed to related cloud credential. GET returned status: ' + status });
});
}
else {
// No existing cloud credential
scope.$emit('cloudCredentialReady', null);
}
});
// Retrieve detail record and prepopulate the form