mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #2998 from mabashian/adhoc-lots-of-gets
Remove extra adhoc GET requests when performing subsequent adhoc commands
This commit is contained in:
commit
deb1c1652b
@ -39,6 +39,12 @@ export function JobStdoutController ($rootScope, $scope, $state, $stateParams,
|
||||
}
|
||||
});
|
||||
|
||||
// Unbind $rootScope socket event binding(s) so that they don't get triggered
|
||||
// in another instance of this controller
|
||||
$scope.$on('$destroy', function() {
|
||||
$scope.removeJobStatusChange();
|
||||
});
|
||||
|
||||
// Set the parse type so that CodeMirror knows how to display extra params YAML/JSON
|
||||
$scope.parseType = 'yaml';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user