diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index 6c60515bf9..11cc8718d5 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -99,7 +99,6 @@ angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'Credential if (passwords.length > 0) { // Prompt for passwords - console.log(passwords); html += "
\n"; html += (extra_html) ? extra_html : ""; var current_form; diff --git a/awx/ui/static/js/widgets/ObjectCount.js b/awx/ui/static/js/widgets/ObjectCount.js index 16097f54de..c61e11be49 100644 --- a/awx/ui/static/js/widgets/ObjectCount.js +++ b/awx/ui/static/js/widgets/ObjectCount.js @@ -23,7 +23,8 @@ angular.module('ObjectCountWidget', ['RestServices', 'Utilities']) scope.removeCountReady(); } scope.removeCountReady = scope.$on('countReady', function(e, obj, count) { - var keys=[]; + var keys=[ 'organizations', 'users', 'teams', 'projects', 'inventory', 'groups', 'hosts', + 'credentials', 'job_templates', 'jobs' ]; var html, itm; var cnt = 0; for (itm in counts) { @@ -31,25 +32,25 @@ angular.module('ObjectCountWidget', ['RestServices', 'Utilities']) } if (cnt == expected) { // sort the list of objs - for (var key in counts) { - if (key !== 'hosts' && key !== 'groups') { - keys.push(key); - } - } + //for (var key in counts) { + // if (key !== 'hosts' && key !== 'groups') { + // keys.push(key); + // } + //} // sort the keys, forcing groups and hosts to appear directlry after inventory - keys.sort(); - var new_keys = []; - for (var i=0; i < keys.length; i++) { - if (keys[i] == 'inventory') { - new_keys.push('inventory'); - new_keys.push('groups'); - new_keys.push('hosts'); - } - else { - new_keys.push(keys[i]); - } - } - keys = new_keys; + //keys.sort(); + //var new_keys = []; + //for (var i=0; i < keys.length; i++) { + // if (keys[i] == 'inventory') { + // new_keys.push('inventory'); + // new_keys.push('groups'); + // new_keys.push('hosts'); + // } + // else { + // new_keys.push(keys[i]); + // } + //} + //keys = new_keys; html = "
\n"; html += "
System Summary
\n"; html += "