From 41799521c6bf338e2a20c4c44c47d8785794aa66 Mon Sep 17 00:00:00 2001 From: mabashian Date: Thu, 31 Aug 2017 14:49:40 -0400 Subject: [PATCH] Removed rogue console.logs --- .../hosts/related/groups/hosts-related-groups.controller.js | 2 +- .../job-submission-factories/check-passwords.factory.js | 2 +- awx/ui/client/src/shared/form-generator.js | 2 +- awx/ui/client/src/users/add/users-add.controller.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/hosts/related/groups/hosts-related-groups.controller.js b/awx/ui/client/src/inventories-hosts/hosts/related/groups/hosts-related-groups.controller.js index 6e346c5b4f..81ae0ff882 100644 --- a/awx/ui/client/src/inventories-hosts/hosts/related/groups/hosts-related-groups.controller.js +++ b/awx/ui/client/src/inventories-hosts/hosts/related/groups/hosts-related-groups.controller.js @@ -56,7 +56,7 @@ $state.go('inventories.edit.groups.edit', {inventory_id: $scope.inventory_id, group_id: id}); }; - $scope.goToGroupGroups = function(id){console.log(); + $scope.goToGroupGroups = function(id){ $state.go('inventories.edit.groups.edit.nested_groups', {inventory_id: $scope.inventory_id, group_id: id}); }; diff --git a/awx/ui/client/src/job-submission/job-submission-factories/check-passwords.factory.js b/awx/ui/client/src/job-submission/job-submission-factories/check-passwords.factory.js index 06d6566168..850b043663 100644 --- a/awx/ui/client/src/job-submission/job-submission-factories/check-passwords.factory.js +++ b/awx/ui/client/src/job-submission/job-submission-factories/check-passwords.factory.js @@ -12,7 +12,7 @@ export default .success(function (data) { credentialTypesLookup() .then(kinds => { - if(data.credential_type === kinds.Machine && data.inputs){console.log(data.inputs); + if(data.credential_type === kinds.Machine && data.inputs){ if(data.inputs.password === "ASK" ){ passwords.push("ssh_password"); } diff --git a/awx/ui/client/src/shared/form-generator.js b/awx/ui/client/src/shared/form-generator.js index 704ed857f9..d548cffc13 100644 --- a/awx/ui/client/src/shared/form-generator.js +++ b/awx/ui/client/src/shared/form-generator.js @@ -1351,7 +1351,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat html += (field.placeholder) ? this.attr(field, 'placeholder') : ""; html += (options.mode === 'edit' && field.editRequired) ? "required " : ""; html += (field.readonly || field.showonly) ? "readonly " : ""; - if(field.awRequiredWhen) {console.log(field.awRequiredWhen); + if(field.awRequiredWhen) { html += field.awRequiredWhen.init ? "data-awrequired-init=\"" + field.awRequiredWhen.init + "\" " : ""; html += field.awRequiredWhen.reqExpression ? "aw-required-when=\"" + field.awRequiredWhen.reqExpression + "\" " : ""; html += field.awRequiredWhen.alwaysShowAsterisk ? "data-awrequired-always-show-asterisk=true " : ""; diff --git a/awx/ui/client/src/users/add/users-add.controller.js b/awx/ui/client/src/users/add/users-add.controller.js index de1fa32f09..0f425bb316 100644 --- a/awx/ui/client/src/users/add/users-add.controller.js +++ b/awx/ui/client/src/users/add/users-add.controller.js @@ -17,7 +17,7 @@ export default ['$scope', '$rootScope', 'UserForm', 'GenerateForm', 'Rest', 'Wait', 'CreateSelect2', '$state', '$location', 'i18n', function($scope, $rootScope, UserForm, GenerateForm, Rest, Alert, ProcessErrors, ReturnToCaller, GetBasePath, Wait, CreateSelect2, - $state, $location, i18n) {console.log($scope); + $state, $location, i18n) { var defaultUrl = GetBasePath('organizations'), form = UserForm;