Job detail page re-refactor

First pass at job host events dialog
This commit is contained in:
Chris Houseknecht 2014-07-07 18:05:42 -04:00
parent 74834abc00
commit 73edea6786
2 changed files with 5 additions and 5 deletions

View File

@ -100,10 +100,10 @@ angular.module('Tower', [
'LogViewerHelper',
'LogViewerOptionsDefinition',
'EventViewerHelper',
'HostEventsViewerHelper',
'JobDetailHelper',
'SocketIO',
'lrInfiniteScroll',
'HostEventsViewer'
'lrInfiniteScroll'
])
.constant('AngularScheduler.partials', $basePath + 'lib/angular-scheduler/lib/')

View File

@ -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 });
});
};
}]);
}]);