From aba8683fc5d616fa9ed48d4e9b34d6dbb767dbcd Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Sat, 3 May 2014 21:36:36 -0400 Subject: [PATCH] Fixed js errors. --- awx/ui/static/js/controllers/Jobs.js | 4 ++-- awx/ui/static/js/helpers/Jobs.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/static/js/controllers/Jobs.js b/awx/ui/static/js/controllers/Jobs.js index 69878c0969..702026165f 100644 --- a/awx/ui/static/js/controllers/Jobs.js +++ b/awx/ui/static/js/controllers/Jobs.js @@ -93,7 +93,7 @@ function JobsListController ($scope, $compile, ClearScope, Breadcrumbs, LoadBrea }; $(window).resize(_.debounce(function() { - resizeContainers(); + resizeContainers(); }, 500)); }); @@ -162,7 +162,7 @@ function JobsListController ($scope, $compile, ClearScope, Breadcrumbs, LoadBrea queued_scope[QueuedJobsList.iterator + '_page_size'] = rows; queued_scope.changePageSize(QueuedJobsList.name, QueuedJobsList.iterator); } - } + } } JobsListController.$inject = ['$scope', '$compile', 'ClearScope', 'Breadcrumbs', 'LoadBreadCrumbs', 'LoadSchedulesScope', 'LoadJobsScope', 'RunningJobsList', 'CompletedJobsList', diff --git a/awx/ui/static/js/helpers/Jobs.js b/awx/ui/static/js/helpers/Jobs.js index 6f841864b3..2afc102871 100644 --- a/awx/ui/static/js/helpers/Jobs.js +++ b/awx/ui/static/js/helpers/Jobs.js @@ -359,7 +359,7 @@ angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'Job e, html; // Add the search widget. We want it arranged differently, so we're injecting and compiling it separately - html = SearchWidget({ + html = SearchWidget({ iterator: list.iterator, template: params.list, includeSize: false