mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
AC-1280 remove notification after user clicks cancel on password prompt
If the user clicks cancel on the passwords dialog, cancel the job quietly without prompting the user for confirmation.
This commit is contained in:
parent
0810194cee
commit
650cec948c
@ -217,8 +217,7 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi
|
||||
|
||||
scope.passwordCancel = function() {
|
||||
$('#password-modal').dialog('close');
|
||||
Alert('Missing Password', 'Required password(s) not provided. Your request will not be submitted.', 'alert-info');
|
||||
parent_scope.$emit('PasswordsCanceled');
|
||||
parent_scope.$emit('CancelJob');
|
||||
scope.$destroy();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user