AC-1083 more better handling of missing machine credentials when submitting a job.

This commit is contained in:
Chris Houseknecht
2014-04-06 03:51:17 -04:00
parent 1e50f0cc24
commit c7d489026e
7 changed files with 77 additions and 34 deletions
+1 -2
View File
@@ -101,7 +101,6 @@ function CredentialsList($scope, $rootScope, $location, $log, $routeParams, Rest
};
$scope.deleteCredential = function (id, name) {
var action = function () {
$('#prompt-modal').on('hidden.bs.modal', function () {
Wait('start');
@@ -121,7 +120,7 @@ function CredentialsList($scope, $rootScope, $location, $log, $routeParams, Rest
Prompt({
hdr: 'Delete',
body: 'Are you sure you want to delete ' + name + '?',
body: "<div class=\"alert alert-info\">Delete credential " + name + "?</div>",
action: action
});
};