mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Removed leftover console.log
This commit is contained in:
parent
9c686f680d
commit
0a02eaa2cf
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user