mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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','');
|
||||
|
||||
@ -91,4 +100,4 @@ if ('serviceWorker' in navigator) {
|
||||
.catch(function(error) {
|
||||
console.log('Service worker registration failed, error:', error);
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user