File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ function rcube_webmail()
613
613
break ;
614
614
615
615
case 'login' :
616
- var tz , tz_name , jstz = window . jstz ,
616
+ var tz , tz_name ,
617
617
input_user = $ ( '#rcmloginuser' ) ,
618
618
input_tz = $ ( '#rcmlogintz' ) ;
619
619
@@ -625,7 +625,7 @@ function rcube_webmail()
625
625
$ ( '#rcmloginpwd' ) . focus ( ) ;
626
626
627
627
// detect client timezone
628
- if ( jstz && ( tz = jstz . determine ( ) ) )
628
+ if ( window . jstz && ( tz = jstz . determine ( ) ) )
629
629
tz_name = tz . name ( ) ;
630
630
631
631
input_tz . val ( tz_name ? tz_name : ( new Date ( ) . getStdTimezoneOffset ( ) / - 60 ) ) ;
@@ -637,7 +637,6 @@ function rcube_webmail()
637
637
ref . display_message ( '' , 'loading' ) ;
638
638
} ) ;
639
639
640
- this . enable_command ( 'login' , true ) ;
641
640
break ;
642
641
}
643
642
@@ -801,11 +800,6 @@ function rcube_webmail()
801
800
// process internal command
802
801
switch ( command ) {
803
802
804
- case 'login' :
805
- if ( this . gui_objects . loginform )
806
- this . gui_objects . loginform . submit ( ) ;
807
- break ;
808
-
809
803
// commands to switch task
810
804
case 'logout' :
811
805
case 'mail' :
You can’t perform that action at this time.
0 commit comments