1
0
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:
Chris Houseknecht 2014-06-12 15:05:29 -04:00
parent 0810194cee
commit 650cec948c

View File

@ -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();
}; };