Skip to content

Commit 8f7a815

Browse files
committed
requests
1 parent 9a33639 commit 8f7a815

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

services/static-webserver/client/source/class/osparc/conversation/AddMessage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ qx.Class.define("osparc.conversation.AddMessage", {
8686
control = new osparc.editor.MarkdownEditor();
8787
control.addListener("keydown", e => {
8888
if (e.isCtrlPressed() && e.getKeyIdentifier() === "Enter") {
89-
this.__addComment();
89+
this.addComment();
9090
e.stopPropagation();
9191
e.preventDefault();
9292
}
@@ -169,10 +169,10 @@ qx.Class.define("osparc.conversation.AddMessage", {
169169
},
170170

171171
__addCommentPressed: function() {
172-
this.getMessage() ? this.__editComment() : this.__addComment();
172+
this.getMessage() ? this.__editComment() : this.addComment();
173173
},
174174

175-
__addComment: function() {
175+
addComment: function() {
176176
const conversationId = this.getConversationId();
177177
if (conversationId) {
178178
this.__postMessage();

services/static-webserver/client/source/class/osparc/ui/message/FlashMessageOEC.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ qx.Class.define("osparc.ui.message.FlashMessageOEC", {
124124
supportCenter.getChildControl("conversation-page").getChildControl("conversation-content").getChildControl("add-message").getChildControl("comment-field")
125125
) {
126126
supportCenter.getChildControl("conversation-page").getChildControl("conversation-content").getChildControl("add-message").getChildControl("comment-field").setText(msg);
127+
supportCenter.getChildControl("conversation-page").getChildControl("conversation-content").getChildControl("add-message").addComment();
127128
}
128129
}
129130

0 commit comments

Comments
 (0)