mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-13 06:58:37 -05:00
AC-1083 more better handling of missing machine credentials when submitting a job.
This commit is contained in:
@@ -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
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user