|
|
@ -1582,6 +1582,8 @@ angular.module('myApp.directives', ['myApp.filters']) |
|
|
|
$(submitBtn).on('mousedown touchstart', onMessageSubmit) |
|
|
|
$(submitBtn).on('mousedown touchstart', onMessageSubmit) |
|
|
|
|
|
|
|
|
|
|
|
function onMessageSubmit (e) { |
|
|
|
function onMessageSubmit (e) { |
|
|
|
|
|
|
|
var self = this |
|
|
|
|
|
|
|
|
|
|
|
$timeout(function () { |
|
|
|
$timeout(function () { |
|
|
|
updateValue() |
|
|
|
updateValue() |
|
|
|
$scope.draftMessage.send() |
|
|
|
$scope.draftMessage.send() |
|
|
@ -1589,6 +1591,8 @@ angular.module('myApp.directives', ['myApp.filters']) |
|
|
|
if (composerEmojiPanel) { |
|
|
|
if (composerEmojiPanel) { |
|
|
|
composerEmojiPanel.update() |
|
|
|
composerEmojiPanel.update() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.hideSuggestions() |
|
|
|
}, shouldFocusOnInteraction ? 0 : 100) |
|
|
|
}, shouldFocusOnInteraction ? 0 : 100) |
|
|
|
return cancelEvent(e) |
|
|
|
return cancelEvent(e) |
|
|
|
} |
|
|
|
} |
|
|
|