File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/static-webserver/client/source/class/osparc/auth Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ qx.Class.define("osparc.auth.LoginPageSplit", {
2525 const layout = new qx . ui . layout . HBox ( ) ;
2626 this . _setLayout ( layout ) ;
2727
28+ const loginPage = this . __loginPage = new osparc . auth . LoginWithDecorators ( ) ;
29+ loginPage . addListener ( "done" , e => this . fireDataEvent ( "done" , e . getData ( ) ) ) ;
30+
2831 this . __rebuildLayout ( ) ;
2932
3033 setTimeout ( ( ) => this . __resized ( ) , 100 ) ;
@@ -51,6 +54,8 @@ qx.Class.define("osparc.auth.LoginPageSplit", {
5154 } ,
5255
5356 members : {
57+ __loginPage : null ,
58+
5459 _getBackgroundImage : function ( ) {
5560 throw new Error ( "Abstract method called!" ) ;
5661 } ,
@@ -67,8 +72,7 @@ qx.Class.define("osparc.auth.LoginPageSplit", {
6772 __rebuildLayout : function ( ) {
6873 this . _removeAll ( ) ;
6974
70- const loginPage = new osparc . auth . LoginWithDecorators ( ) ;
71- loginPage . addListener ( "done" , e => this . fireDataEvent ( "done" , e . getData ( ) ) ) ;
75+ const loginPage = this . __loginPage ;
7276 const container = new qx . ui . container . Scroll ( ) ;
7377 container . add ( loginPage ) ;
7478 const spacers = [
You can’t perform that action at this time.
0 commit comments