File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
services/static-webserver/client/source/class/osparc/info Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,19 @@ qx.Class.define("osparc.info.CommentAdd", {
129129 notifyUserButton . addListener ( "execute" , ( ) => this . __notifyUserTapped ( ) ) ;
130130 } ,
131131
132+ __addComment : function ( ) {
133+ if ( this . __conversationId ) {
134+ this . __postMessage ( ) ;
135+ } else {
136+ // create new conversation first
137+ osparc . study . Conversations . addConversation ( this . __studyData [ "uuid" ] )
138+ . then ( data => {
139+ this . __conversationId = data [ "conversationId" ] ;
140+ this . __postMessage ( ) ;
141+ } )
142+ }
143+ } ,
144+
132145 __notifyUserTapped : function ( ) {
133146 const showOrganizations = false ;
134147 const showAccessRights = false ;
@@ -148,19 +161,6 @@ qx.Class.define("osparc.info.CommentAdd", {
148161 } ) ;
149162 } ,
150163
151- __addComment : function ( ) {
152- if ( this . __conversationId ) {
153- this . __postMessage ( ) ;
154- } else {
155- // create new conversation first
156- osparc . study . Conversations . addConversation ( this . __studyData [ "uuid" ] )
157- . then ( data => {
158- this . __conversationId = data [ "conversationId" ] ;
159- this . __postMessage ( ) ;
160- } )
161- }
162- } ,
163-
164164 __notifyUser : function ( userGid ) {
165165 // Note!
166166 // This check only works if the project is directly shared with the user.
You can’t perform that action at this time.
0 commit comments