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:
jlmitch5 2015-04-06 18:49:53 -04:00
parent 3c878018be
commit fd5ce3d3af

View File

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