mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
remove log line, yank generateList dependency from card controller
This commit is contained in:
@@ -7,12 +7,12 @@
|
|||||||
// import listGenerator from 'tower/shared/list-generator/main';
|
// import listGenerator from 'tower/shared/list-generator/main';
|
||||||
|
|
||||||
export default
|
export default
|
||||||
[ 'Wait', '$location' , '$compile', 'CreateDialog', 'generateList',
|
[ 'Wait', '$location' , '$compile', 'CreateDialog',
|
||||||
'GetBasePath' , 'SearchInit' , 'PaginateInit',
|
'GetBasePath' , 'SearchInit' , 'PaginateInit',
|
||||||
'SchedulesList',
|
'SchedulesList',
|
||||||
'Rest' , 'ProcessErrors', 'managementJobsListObject', '$rootScope',
|
'Rest' , 'ProcessErrors', 'managementJobsListObject', '$rootScope',
|
||||||
'$state', 'Stream', '$scope',
|
'$state', 'Stream', '$scope',
|
||||||
function( Wait, $location, $compile, CreateDialog, GenerateList,
|
function( Wait, $location, $compile, CreateDialog,
|
||||||
GetBasePath, SearchInit, PaginateInit,
|
GetBasePath, SearchInit, PaginateInit,
|
||||||
SchedulesList,
|
SchedulesList,
|
||||||
Rest, ProcessErrors, managementJobsListObject, $rootScope,
|
Rest, ProcessErrors, managementJobsListObject, $rootScope,
|
||||||
@@ -35,14 +35,8 @@ export default
|
|||||||
getManagementJobs();
|
getManagementJobs();
|
||||||
var scope = $rootScope.$new(),
|
var scope = $rootScope.$new(),
|
||||||
parent_scope = scope,
|
parent_scope = scope,
|
||||||
list = managementJobsListObject,
|
list = managementJobsListObject;
|
||||||
view = GenerateList;
|
|
||||||
scope.cleanupJob = true;
|
scope.cleanupJob = true;
|
||||||
view.inject( list, {
|
|
||||||
mode: 'edit',
|
|
||||||
scope: scope,
|
|
||||||
showSearch: true
|
|
||||||
});
|
|
||||||
|
|
||||||
SearchInit({
|
SearchInit({
|
||||||
scope: scope,
|
scope: scope,
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ export default
|
|||||||
SchedulesList,
|
SchedulesList,
|
||||||
Rest, ProcessErrors, managementJobsListObject, $rootScope,
|
Rest, ProcessErrors, managementJobsListObject, $rootScope,
|
||||||
$state, Stream) {
|
$state, Stream) {
|
||||||
console.log('rootScope ', $rootScope);
|
|
||||||
var scope = $rootScope.$new(),
|
var scope = $rootScope.$new(),
|
||||||
parent_scope = scope,
|
parent_scope = scope,
|
||||||
defaultUrl = GetBasePath('system_job_templates'),
|
defaultUrl = GetBasePath('system_job_templates'),
|
||||||
|
|||||||
Reference in New Issue
Block a user