#696 clean up logging

This commit is contained in:
Leigh Johnson 2016-02-19 10:59:58 -05:00
parent eae92f8751
commit 247c78c44d
3 changed files with 1 additions and 6 deletions

View File

@ -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",

View File

@ -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)
}];

View File

@ -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",