mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
#696 clean up logging
This commit is contained in:
parent
eae92f8751
commit
247c78c44d
@ -217,7 +217,6 @@ export default
|
||||
base = params.base || $location.path().replace(/^\//, '').split('/')[0],
|
||||
url = GetBasePath(base),
|
||||
scheduler;
|
||||
console.log('AddSchedule $stateParams: ', $stateParams)
|
||||
if (!Empty($stateParams.template_id)) {
|
||||
url += $stateParams.template_id + '/schedules/';
|
||||
}
|
||||
@ -225,9 +224,8 @@ export default
|
||||
url += $stateParams.id + '/schedules/';
|
||||
}
|
||||
else if (base == 'system_job_templates') {
|
||||
console.log('at least we know its a mgmt job!')
|
||||
url += $stateParams.id + '/schedules/';
|
||||
if(scope.id === 4){
|
||||
if($stateParams.id == 4){
|
||||
scope.isFactCleanup = true;
|
||||
scope.keep_unit_choices = [{
|
||||
"label" : "Days",
|
||||
|
||||
@ -19,7 +19,6 @@ export default [
|
||||
GetBasePath, Wait, Find, LoadDialogPartial, LoadSchedulesScope, GetChoices) {
|
||||
|
||||
ClearScope();
|
||||
console.log($stateParams)
|
||||
|
||||
var base, e, id, url, parentObject;
|
||||
base = $location.path().replace(/^\//, '').split('/')[0];
|
||||
@ -92,5 +91,4 @@ export default [
|
||||
variable: 'type_choices',
|
||||
callback: 'choicesReady'
|
||||
});
|
||||
console.log($scope)
|
||||
}];
|
||||
|
||||
@ -6,7 +6,6 @@ export default ['$compile', '$state', '$stateParams', 'AddSchedule', 'Wait', '$s
|
||||
$scope.$on("formUpdated", function() {
|
||||
$rootScope.$broadcast("loadSchedulerDetailPane");
|
||||
});
|
||||
console.log('schedulerAdd.controller $scope: ', $scope)
|
||||
|
||||
$scope.$watchGroup(["schedulerName",
|
||||
"schedulerStartDt",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user