mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
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.
This commit is contained in:
parent
3c878018be
commit
fd5ce3d3af
@ -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();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user