From 650cec948cc62c1a3ffc0e04e477b0e8e5f0049e Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Thu, 12 Jun 2014 15:05:29 -0400 Subject: [PATCH] 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. --- awx/ui/static/js/helpers/JobSubmission.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index aeda2d677f..6c6d174c14 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -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(); };