Skip to content

Commit d1ce455

Browse files
committed
callTopicSelected
1 parent 8ba352b commit d1ce455

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

services/static-webserver/client/source/class/osparc/support/BookACall.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ qx.Class.define("osparc.support.BookACall", {
4444
__buildLayout: function() {
4545
const callTopicSelector = this.getChildControl("call-topic-selector");
4646
this.setSelection([callTopicSelector]);
47-
callTopicSelector.addListener("nextPressed", e => {
48-
console.log("Next pressed!", e.getData());
47+
callTopicSelector.addListener("callTopicSelected", e => {
48+
console.log("callTopicSelected", e.getData());
4949
const bookACallIframe = this.getChildControl("book-a-call-iframe");
5050
this.setSelection([bookACallIframe]);
5151
});

services/static-webserver/client/source/class/osparc/support/CallTopicSelector.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ qx.Class.define("osparc.support.CallTopicSelector", {
3232
this.__buildLayout();
3333
},
3434

35+
events: {
36+
"callTopicSelected": "qx.event.type.Data",
37+
},
38+
3539
members: {
3640
_createChildControlImpl: function(id) {
3741
let control;

0 commit comments

Comments
 (0)