mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 09:07:45 -02:30
Removed rogue console.logs
This commit is contained in:
@@ -56,7 +56,7 @@
|
|||||||
$state.go('inventories.edit.groups.edit', {inventory_id: $scope.inventory_id, group_id: id});
|
$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});
|
$state.go('inventories.edit.groups.edit.nested_groups', {inventory_id: $scope.inventory_id, group_id: id});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default
|
|||||||
.success(function (data) {
|
.success(function (data) {
|
||||||
credentialTypesLookup()
|
credentialTypesLookup()
|
||||||
.then(kinds => {
|
.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" ){
|
if(data.inputs.password === "ASK" ){
|
||||||
passwords.push("ssh_password");
|
passwords.push("ssh_password");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1351,7 +1351,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
|||||||
html += (field.placeholder) ? this.attr(field, 'placeholder') : "";
|
html += (field.placeholder) ? this.attr(field, 'placeholder') : "";
|
||||||
html += (options.mode === 'edit' && field.editRequired) ? "required " : "";
|
html += (options.mode === 'edit' && field.editRequired) ? "required " : "";
|
||||||
html += (field.readonly || field.showonly) ? "readonly " : "";
|
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.init ? "data-awrequired-init=\"" + field.awRequiredWhen.init + "\" " : "";
|
||||||
html += field.awRequiredWhen.reqExpression ? "aw-required-when=\"" + field.awRequiredWhen.reqExpression + "\" " : "";
|
html += field.awRequiredWhen.reqExpression ? "aw-required-when=\"" + field.awRequiredWhen.reqExpression + "\" " : "";
|
||||||
html += field.awRequiredWhen.alwaysShowAsterisk ? "data-awrequired-always-show-asterisk=true " : "";
|
html += field.awRequiredWhen.alwaysShowAsterisk ? "data-awrequired-always-show-asterisk=true " : "";
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export default ['$scope', '$rootScope', 'UserForm', 'GenerateForm', 'Rest',
|
|||||||
'Wait', 'CreateSelect2', '$state', '$location', 'i18n',
|
'Wait', 'CreateSelect2', '$state', '$location', 'i18n',
|
||||||
function($scope, $rootScope, UserForm, GenerateForm, Rest, Alert,
|
function($scope, $rootScope, UserForm, GenerateForm, Rest, Alert,
|
||||||
ProcessErrors, ReturnToCaller, GetBasePath, Wait, CreateSelect2,
|
ProcessErrors, ReturnToCaller, GetBasePath, Wait, CreateSelect2,
|
||||||
$state, $location, i18n) {console.log($scope);
|
$state, $location, i18n) {
|
||||||
|
|
||||||
var defaultUrl = GetBasePath('organizations'),
|
var defaultUrl = GetBasePath('organizations'),
|
||||||
form = UserForm;
|
form = UserForm;
|
||||||
|
|||||||
Reference in New Issue
Block a user