From ee12caebd20bece266c1a0673928f21e37929a8f Mon Sep 17 00:00:00 2001 From: Italo Rossi Date: Tue, 22 Dec 2015 15:58:48 -0300 Subject: [PATCH] FS-8591 [verto_communicator] restoring chat send button behavior --- .../src/vertoControllers/controllers/ChatController.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js index 8c3be2d3d2..c74e25ab2c 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js @@ -1,3 +1,4 @@ + (function() { 'use strict'; @@ -199,7 +200,9 @@ // Only conferencing chat is supported for now // but still calling method with the conference prefix // so we know that explicitly. - event.preventDefault(); + if (event && event.type == 'keydown') { + event.preventDefault(); + } verto.sendConferenceChat($scope.message); $scope.message = CLEAN_MESSAGE; };