FS-8654 [verto_communicator] - Added event emission on hangup

This commit is contained in:
Jaon EarlWolf 2015-12-15 17:03:05 -03:00
parent 475df32a4b
commit 0a9c4a6b7d
2 changed files with 5 additions and 0 deletions

View File

@ -123,6 +123,10 @@
$scope.members.push(translateMember(member));
}
$rootScope.$on('hangupCall', function() {
$scope.openId = null;
});
$rootScope.$on('members.boot', function(event, members) {
$scope.$apply(function() {
clearConferenceChat();

View File

@ -470,6 +470,7 @@
verto.hangup();
$rootScope.$emit('hangupCall');
$location.path('/dialpad');
};