JC Brand 7 anos atrás
pai
commit
479d657001
2 arquivos alterados com 2 adições e 1 exclusões
  1. 1 0
      CHANGES.md
  2. 1 1
      src/converse-muc.js

+ 1 - 0
CHANGES.md

@@ -9,6 +9,7 @@
 - #993 `moment.format` is not a function error when sending a message.
 - #994 TypeError when using the `user.login` API.
 - #995 `ChildNode.replaceWith` is not available in Internet Explorer or Safari. Use `Node.replaceChild` instead.
+- #999 MUC Chat Send button causes page reload
 - #1000 Scroll to bottom when maximizing a chat room.
 - #1003 Handle bare MUC room JIDs
 

+ 1 - 1
src/converse-muc.js

@@ -435,7 +435,7 @@
                     'click .new-msgs-indicator': 'viewUnreadMessages',
                     'click .occupant': 'onOccupantClicked',
                     'keypress .chat-textarea': 'keyPressed',
-                    'click .send-button': 'onSendButtonClicked'
+                    'click .send-button': 'onFormSubmitted'
                 },
 
                 initialize () {