Merge pull request #644 in FS/freeswitch from ~JAONZE/freeswitch:bugfix/FS-8591-chat-window-inserts-spurious-carriage to master

* commit 'aede42e8bd4d24fff12314908b58b723ffa96011':
  FS-8591 [verto_communicator] - Changed ng-keyup to ng-keydown
This commit is contained in:
Ítalo Rossi
2015-12-22 12:45:45 -06:00
2 changed files with 3 additions and 2 deletions

View File

@@ -195,10 +195,11 @@
$scope.openId = $scope.openId == index ? null : index;
};
$scope.send = function() {
$scope.send = function(event) {
// Only conferencing chat is supported for now
// but still calling method with the conference prefix
// so we know that explicitly.
event.preventDefault();
verto.sendConferenceChat($scope.message);
$scope.message = CLEAN_MESSAGE;
};