remove log line, yank generateList dependency from card controller

This commit is contained in:
Leigh Johnson 2016-02-10 13:12:47 -05:00
parent b60d760a9a
commit 933ab65b3f
2 changed files with 3 additions and 10 deletions

View File

@ -7,12 +7,12 @@
// import listGenerator from 'tower/shared/list-generator/main';
export default
[ 'Wait', '$location' , '$compile', 'CreateDialog', 'generateList',
[ 'Wait', '$location' , '$compile', 'CreateDialog',
'GetBasePath' , 'SearchInit' , 'PaginateInit',
'SchedulesList',
'Rest' , 'ProcessErrors', 'managementJobsListObject', '$rootScope',
'$state', 'Stream', '$scope',
function( Wait, $location, $compile, CreateDialog, GenerateList,
function( Wait, $location, $compile, CreateDialog,
GetBasePath, SearchInit, PaginateInit,
SchedulesList,
Rest, ProcessErrors, managementJobsListObject, $rootScope,
@ -35,14 +35,8 @@ export default
getManagementJobs();
var scope = $rootScope.$new(),
parent_scope = scope,
list = managementJobsListObject,
view = GenerateList;
list = managementJobsListObject;
scope.cleanupJob = true;
view.inject( list, {
mode: 'edit',
scope: scope,
showSearch: true
});
SearchInit({
scope: scope,

View File

@ -17,7 +17,6 @@ export default
SchedulesList,
Rest, ProcessErrors, managementJobsListObject, $rootScope,
$state, Stream) {
console.log('rootScope ', $rootScope);
var scope = $rootScope.$new(),
parent_scope = scope,
defaultUrl = GetBasePath('system_job_templates'),