mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +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() {
|
scope.passwordCancel = function() {
|
||||||
$('#password-modal').dialog('close');
|
$('#password-modal').dialog('close');
|
||||||
Alert('Missing Password', 'Required password(s) not provided. Your request will not be submitted.', 'alert-info');
|
parent_scope.$emit('CancelJob');
|
||||||
parent_scope.$emit('PasswordsCanceled');
|
|
||||||
scope.$destroy();
|
scope.$destroy();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user