From 0a02eaa2cf77976c1129e5b98d4f6c4f8f652965 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Fri, 10 Feb 2017 13:31:18 -0500 Subject: [PATCH] Removed leftover console.log --- .../workflows/workflow-chart/workflow-chart.directive.js | 2 -- .../workflows/workflow-maker/workflow-maker.directive.js | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js b/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js index 3623de0100..ca5957f134 100644 --- a/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js +++ b/awx/ui/client/src/templates/workflows/workflow-chart/workflow-chart.directive.js @@ -83,8 +83,6 @@ export default [ '$state','moment', '$timeout', '$window', // This is the workflow editor dimensions.height = $('.WorkflowMaker-contentLeft').outerHeight() - $('.WorkflowLegend-maker').outerHeight(); dimensions.width = $('#workflow-modal-dialog').width() - $('.WorkflowMaker-contentRight').outerWidth(); - - console.log(dimensions); } else { // This is the workflow details view diff --git a/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.directive.js b/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.directive.js index 2fc693cda9..bfac9c1469 100644 --- a/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.directive.js +++ b/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.directive.js @@ -21,7 +21,7 @@ export default ['templateUrl', 'CreateDialog', 'Wait', '$state', '$window', let availableHeight = $(window).height(), availableWidth = $(window).width(), minimumWidth = 1300, - minimumHeight = 550;console.log(availableHeight, availableWidth); + minimumHeight = 550; CreateDialog({ id: 'workflow-modal-dialog', @@ -69,7 +69,6 @@ export default ['templateUrl', 'CreateDialog', 'Wait', '$state', '$window', function onResize(){ availableHeight = $(window).height(); availableWidth = $(window).width(); - console.log(availableHeight, availableWidth); $('#workflow-modal-dialog').parent('.ui-dialog').height(availableHeight > minimumHeight ? availableHeight : minimumHeight); $('#workflow-modal-dialog').parent('.ui-dialog').width(availableWidth > minimumWidth ? availableWidth : minimumWidth); $('#workflow-modal-dialog').outerHeight(availableHeight > minimumHeight ? availableHeight : minimumHeight);