diff --git a/awx/ui/static/js/controllers/Jobs.js b/awx/ui/static/js/controllers/Jobs.js index 4aa2c3c2c7..e3d196d319 100644 --- a/awx/ui/static/js/controllers/Jobs.js +++ b/awx/ui/static/js/controllers/Jobs.js @@ -332,7 +332,7 @@ function JobsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, J Rest.get({ params: { id: id } }) .success(function (data) { - var i, fld, json_obj; + var i, fld; LoadBreadCrumbs(); diff --git a/awx/ui/static/js/helpers/inventory.js b/awx/ui/static/js/helpers/inventory.js index b060f1e756..e51ea97126 100644 --- a/awx/ui/static/js/helpers/inventory.js +++ b/awx/ui/static/js/helpers/inventory.js @@ -57,11 +57,6 @@ angular.module('InventoryHelper', ['RestServices', 'Utilities', 'OrganizationLis // Make sure we have valid variable data json_data = ToJSON(scope.inventoryParseType, scope.inventory_variables); - // Make sure our JSON is actually an object - if (typeof json_data !== 'object') { - throw "failed to return an object!"; - } - data = {}; for (fld in form.fields) { if (fld !== 'inventory_variables') { diff --git a/awx/ui/static/lib/ansible/generator-helpers.js b/awx/ui/static/lib/ansible/generator-helpers.js index dc4d822e53..8c5a65b753 100644 --- a/awx/ui/static/lib/ansible/generator-helpers.js +++ b/awx/ui/static/lib/ansible/generator-helpers.js @@ -711,7 +711,7 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers']) html = ''; html += "\n"; html += "
\n"; - html += "
\n"; + html += "
\n"; html += "