diff --git a/awx/ui/static/js/controllers/Organizations.js b/awx/ui/static/js/controllers/Organizations.js index 67dd5f908d..18e0c2942f 100644 --- a/awx/ui/static/js/controllers/Organizations.js +++ b/awx/ui/static/js/controllers/Organizations.js @@ -130,7 +130,7 @@ function OrganizationsAdd ($scope, $rootScope, $compile, $location, $log, $route // Cancel scope.formReset = function() { $rootScope.flashMessage = null; - form.reset(); + generator.reset(); }; } @@ -223,7 +223,7 @@ function OrganizationsEdit ($scope, $rootScope, $compile, $location, $log, $rout // Reset the form scope.formReset = function() { $rootScope.flashMessage = null; - form.reset(); + generator.reset(); for (var fld in master) { scope[fld] = master[fld]; } diff --git a/awx/ui/static/js/forms/Credentials.js b/awx/ui/static/js/forms/Credentials.js index 322e05f9b3..1875dcd6f3 100644 --- a/awx/ui/static/js/forms/Credentials.js +++ b/awx/ui/static/js/forms/Credentials.js @@ -243,16 +243,11 @@ angular.module('CredentialFormDefinition', []) buttons: { //for now always generates \n"; + "ng-click=\"finishSelection()\" ng-disabled=\"disableSelectBtn\"> Select\n"; html += "\n"; }