From fd5ce3d3af54a60ddd0702074c81dbd320a55e1f Mon Sep 17 00:00:00 2001 From: jlmitch5 Date: Mon, 6 Apr 2015 18:49:53 -0400 Subject: [PATCH] Fixed failed resp bug when args are necessary some modules require args...if the one selected does and the user hasn't input any, we can't reset the form...we need the api form error response to display. --- awx/ui/static/js/controllers/Adhoc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/awx/ui/static/js/controllers/Adhoc.js b/awx/ui/static/js/controllers/Adhoc.js index 594f93ab3e..44409af5f4 100644 --- a/awx/ui/static/js/controllers/Adhoc.js +++ b/awx/ui/static/js/controllers/Adhoc.js @@ -150,7 +150,6 @@ export function AdhocCtrl($scope, $rootScope, $location, $routeParams, // if the credential requires it. The way that the current end- // point works is that I find out if I need to ask for a // password from POST, thus I get an error response. - $scope.formReset(); }); };