mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
remove Stream dependencies
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
export function OrganizationsList($stateParams, $scope, $rootScope, $location,
|
export function OrganizationsList($stateParams, $scope, $rootScope, $location,
|
||||||
$log, $compile, Rest, PaginateWidget, PaginateInit, SearchInit, OrganizationList, Alert, Prompt, ClearScope, ProcessErrors, GetBasePath, Wait,
|
$log, $compile, Rest, PaginateWidget, PaginateInit, SearchInit, OrganizationList, Alert, Prompt, ClearScope, ProcessErrors, GetBasePath, Wait,
|
||||||
Stream, $state) {
|
$state) {
|
||||||
|
|
||||||
ClearScope();
|
ClearScope();
|
||||||
|
|
||||||
@@ -136,9 +136,7 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location,
|
|||||||
$('#prompt-modal').modal('hide');
|
$('#prompt-modal').modal('hide');
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.showActivity = function () {
|
|
||||||
Stream({ scope: $scope });
|
|
||||||
};
|
|
||||||
|
|
||||||
$scope.addOrganization = function () {
|
$scope.addOrganization = function () {
|
||||||
$state.transitionTo('organizations.add');
|
$state.transitionTo('organizations.add');
|
||||||
@@ -181,7 +179,7 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location,
|
|||||||
OrganizationsList.$inject = ['$stateParams', '$scope', '$rootScope',
|
OrganizationsList.$inject = ['$stateParams', '$scope', '$rootScope',
|
||||||
'$location', '$log', '$compile', 'Rest', 'PaginateWidget', 'PaginateInit', 'SearchInit', 'OrganizationList', 'Alert', 'Prompt', 'ClearScope',
|
'$location', '$log', '$compile', 'Rest', 'PaginateWidget', 'PaginateInit', 'SearchInit', 'OrganizationList', 'Alert', 'Prompt', 'ClearScope',
|
||||||
'ProcessErrors', 'GetBasePath', 'Wait',
|
'ProcessErrors', 'GetBasePath', 'Wait',
|
||||||
'Stream', '$state'
|
'$state'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -243,7 +241,7 @@ OrganizationsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location',
|
|||||||
export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log,
|
export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log,
|
||||||
$stateParams, OrganizationForm, GenerateForm, Rest, Alert, ProcessErrors,
|
$stateParams, OrganizationForm, GenerateForm, Rest, Alert, ProcessErrors,
|
||||||
RelatedSearchInit, RelatedPaginateInit, Prompt, ClearScope, GetBasePath,
|
RelatedSearchInit, RelatedPaginateInit, Prompt, ClearScope, GetBasePath,
|
||||||
Wait, Stream, $state) {
|
Wait, $state) {
|
||||||
|
|
||||||
ClearScope();
|
ClearScope();
|
||||||
|
|
||||||
@@ -332,12 +330,6 @@ export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log,
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.showActivity = function () {
|
|
||||||
Stream({
|
|
||||||
scope: $scope
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
$scope.formCancel = function () {
|
$scope.formCancel = function () {
|
||||||
$scope.$emit("ReloadOrganzationCards");
|
$scope.$emit("ReloadOrganzationCards");
|
||||||
$scope.$emit("ShowOrgListHeader");
|
$scope.$emit("ShowOrgListHeader");
|
||||||
@@ -389,5 +381,5 @@ export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log,
|
|||||||
OrganizationsEdit.$inject = ['$scope', '$rootScope', '$compile', '$location',
|
OrganizationsEdit.$inject = ['$scope', '$rootScope', '$compile', '$location',
|
||||||
'$log', '$stateParams', 'OrganizationForm', 'GenerateForm', 'Rest', 'Alert',
|
'$log', '$stateParams', 'OrganizationForm', 'GenerateForm', 'Rest', 'Alert',
|
||||||
'ProcessErrors', 'RelatedSearchInit', 'RelatedPaginateInit', 'Prompt',
|
'ProcessErrors', 'RelatedSearchInit', 'RelatedPaginateInit', 'Prompt',
|
||||||
'ClearScope', 'GetBasePath', 'Wait', 'Stream', '$state'
|
'ClearScope', 'GetBasePath', 'Wait', '$state'
|
||||||
];
|
];
|
||||||
Reference in New Issue
Block a user