From 73edea6786fe87e49a97345097e45bbd7970c77d Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Mon, 7 Jul 2014 18:05:42 -0400 Subject: [PATCH] Job detail page re-refactor First pass at job host events dialog --- awx/ui/static/js/app.js | 4 ++-- awx/ui/static/js/helpers/HostEventsViewer.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 69a8da5d56..d19a6c914c 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -100,10 +100,10 @@ angular.module('Tower', [ 'LogViewerHelper', 'LogViewerOptionsDefinition', 'EventViewerHelper', + 'HostEventsViewerHelper', 'JobDetailHelper', 'SocketIO', - 'lrInfiniteScroll', - 'HostEventsViewer' + 'lrInfiniteScroll' ]) .constant('AngularScheduler.partials', $basePath + 'lib/angular-scheduler/lib/') diff --git a/awx/ui/static/js/helpers/HostEventsViewer.js b/awx/ui/static/js/helpers/HostEventsViewer.js index a027fa1c5e..84199650fd 100644 --- a/awx/ui/static/js/helpers/HostEventsViewer.js +++ b/awx/ui/static/js/helpers/HostEventsViewer.js @@ -11,8 +11,8 @@ angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities']) - .factory('HostEventsViewer', ['$compile', 'CreateDialog', 'GetEvent', 'Wait', 'GetBasePath', 'LookUpName', 'Empty', 'GetEvents', - function($compile, CreateDialog, GetEvent, Wait, GetBasePath, LookUpName, Empty, GetEvents) { + .factory('HostEventsViewer', ['$compile', 'CreateDialog', 'Wait', 'GetBasePath', 'Empty', 'GetEvents', + function($compile, CreateDialog, Wait, GetBasePath, Empty, GetEvents) { return function(params) { var parent_scope = params.scope, url = params.url, @@ -80,4 +80,4 @@ angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities']) msg: 'Failed to get events ' + url + '. GET returned: ' + status }); }); }; - }]); \ No newline at end of file + }]);