mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
adding websocket listener to portal page
This commit is contained in:
parent
32db96c176
commit
1c1dcf3c01
@ -13,6 +13,13 @@ export function PortalModeJobsController($scope, $state, $rootScope, GetBasePath
|
||||
defaultUrl = GetBasePath('jobs') + '?created_by=' + $rootScope.current_user.id,
|
||||
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.activeFilter = 'user';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user