mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
prefer [Login] button below over maybe existing SAML login button above
This commit is contained in:
parent
c2166c5750
commit
1c7e74a2af
@ -73,6 +73,15 @@ egw_ready.then(function()
|
||||
this.form.method = 'get';
|
||||
jQuery(this.form).append('<input type="hidden" name="auth" value="saml"/>');
|
||||
});
|
||||
// prefer [Login] button below over maybe existing SAML login button above
|
||||
jQuery('input').on('keypress', function(e)
|
||||
{
|
||||
if (e.which == 13)
|
||||
{
|
||||
this.form.submit();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
//cleanup darkmode session value
|
||||
egw.setSessionItem('api', 'darkmode','');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user