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