File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ qx.Class.define("osparc.dashboard.SortedByMenuButton", {
3434 this . setMenu ( sortedByMenu ) ;
3535
3636 const options = this . self ( ) . getSortByOptions ( ) ;
37-
3837 options . forEach ( ( option , idx ) => {
3938 const btn = new qx . ui . menu . Button ( ) ;
4039 btn . btnId = option . id ;
@@ -51,11 +50,6 @@ qx.Class.define("osparc.dashboard.SortedByMenuButton", {
5150
5251 btn . addListener ( "execute" , ( ) => this . __buttonExecuted ( btn ) ) ;
5352 } ) ;
54-
55- this . addListener ( "changeSort" , e => {
56- const sort = e . getData ( ) ;
57- this . __handelSortEvent ( sort )
58- } , this ) ;
5953 } ,
6054
6155 statics : {
@@ -89,6 +83,7 @@ qx.Class.define("osparc.dashboard.SortedByMenuButton", {
8983 } ,
9084 nullable : false ,
9185 event : "changeSort" ,
86+ apply : "__handelSortEvent" ,
9287 }
9388 } ,
9489
You can’t perform that action at this time.
0 commit comments