mirror of
https://github.com/ansible/awx.git
synced 2026-08-01 18:39:54 -02:30
Added socket.io lib. Created a temporary Sockets tab for socket connection testing. Streamlined login process to use scope callbacks.
This commit is contained in:
@@ -264,7 +264,15 @@ function(UpdatePlayStatus, UpdatePlayNoHostsMatched, UpdateHostStatus, UpdatePla
|
||||
rc: rc
|
||||
});
|
||||
};
|
||||
}]);
|
||||
|
||||
|
||||
}])
|
||||
|
||||
.factory('SelectPlay', [ function() {
|
||||
return function(params) {
|
||||
var scope = params.scope,
|
||||
id = params.id;
|
||||
scope.plays.forEach(function(play, idx) {
|
||||
scope.plays[idx].playActiveClass = (play.id === id) ? 'active' : '';
|
||||
});
|
||||
scope.selectedPlay = id;
|
||||
};
|
||||
}])
|
||||
|
||||
Reference in New Issue
Block a user