mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 18:37:39 -02:30
adding websocket listener to portal page
This commit is contained in:
committed by
John Mitchell
parent
32db96c176
commit
1c1dcf3c01
@@ -13,6 +13,13 @@ export function PortalModeJobsController($scope, $state, $rootScope, GetBasePath
|
|||||||
defaultUrl = GetBasePath('jobs') + '?created_by=' + $rootScope.current_user.id,
|
defaultUrl = GetBasePath('jobs') + '?created_by=' + $rootScope.current_user.id,
|
||||||
pageSize = 12;
|
pageSize = 12;
|
||||||
|
|
||||||
|
if ($rootScope.removeJobStatusChange) {
|
||||||
|
$rootScope.removeJobStatusChange();
|
||||||
|
}
|
||||||
|
$rootScope.removeJobStatusChange = $rootScope.$on('JobStatusChange-portal', function() {
|
||||||
|
$scope.search('portal_job'); //processEvent(event);
|
||||||
|
});
|
||||||
|
|
||||||
$scope.iterator = list.iterator;
|
$scope.iterator = list.iterator;
|
||||||
$scope.activeFilter = 'user';
|
$scope.activeFilter = 'user';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user