Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12196 from etiennesegonzac/hardened-conf-call-end
Browse files Browse the repository at this point in the history
Bug 887764 - Ending a conference call properly. r=rik
  • Loading branch information
rik committed Sep 13, 2013
2 parents 9271176 + 74339c0 commit 7765040
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/communications/dialer/js/calls_handler.js
Expand Up @@ -613,9 +613,11 @@ var CallsHandler = (function callsHandler() {
}

function endConferenceCall() {
telephony.conferenceGroup.calls.forEach(function(call) {
var callsToEnd = telephony.conferenceGroup.calls;
for (var i = (callsToEnd.length - 1); i >= 0; i--) {
var call = callsToEnd[i];
call.hangUp();
});
}
}

function end() {
Expand Down

0 comments on commit 7765040

Please sign in to comment.