mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Fix JS indentation.
This commit is contained in:
@@ -397,7 +397,7 @@ function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $routePa
|
|||||||
if (!Empty($scope.su_username) || !Empty($scope.su_password)) {
|
if (!Empty($scope.su_username) || !Empty($scope.su_password)) {
|
||||||
$scope.login_method = 'su';
|
$scope.login_method = 'su';
|
||||||
} else if (!Empty($scope.sudo_username) || !Empty($scope.sudo_password)) {
|
} else if (!Empty($scope.sudo_username) || !Empty($scope.sudo_password)) {
|
||||||
$scope.login_method = 'sudo';
|
$scope.login_method = 'sudo';
|
||||||
} else {
|
} else {
|
||||||
$scope.login_method = '';
|
$scope.login_method = '';
|
||||||
}
|
}
|
||||||
@@ -571,4 +571,4 @@ CredentialsEdit.$inject = ['$scope', '$rootScope', '$compile', '$location', '$lo
|
|||||||
'GenerateForm', 'Rest', 'Alert', 'ProcessErrors', 'LoadBreadCrumbs', 'RelatedSearchInit', 'RelatedPaginateInit',
|
'GenerateForm', 'Rest', 'Alert', 'ProcessErrors', 'LoadBreadCrumbs', 'RelatedSearchInit', 'RelatedPaginateInit',
|
||||||
'ReturnToCaller', 'ClearScope', 'Prompt', 'GetBasePath', 'GetChoices', 'KindChange', 'UserList', 'TeamList', 'LookUpInit',
|
'ReturnToCaller', 'ClearScope', 'Prompt', 'GetBasePath', 'GetChoices', 'KindChange', 'UserList', 'TeamList', 'LookUpInit',
|
||||||
'Empty', 'OwnerChange', 'LoginMethodChange', 'FormSave', 'Stream', 'Wait'
|
'Empty', 'OwnerChange', 'LoginMethodChange', 'FormSave', 'Stream', 'Wait'
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -156,8 +156,8 @@ angular.module('CredentialsHelper', ['Utilities'])
|
|||||||
scope.sudo_password = null;
|
scope.sudo_password = null;
|
||||||
}
|
}
|
||||||
if (login_method !== 'su') {
|
if (login_method !== 'su') {
|
||||||
scope.su_username = null;
|
scope.su_username = null;
|
||||||
scope.su_password = null;
|
scope.su_password = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -264,4 +264,4 @@ angular.module('CredentialsHelper', ['Utilities'])
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user