Skip to content
Snippets Groups Projects
Commit a3b4cb20 authored by Arthur Schiwon's avatar Arthur Schiwon Committed by Jörn Friedrich Dreyer
Browse files

Show Login-Button when user+pw are autocompleted, fixes oc-1068

parent 14c5d08a
No related branches found
No related tags found
No related merge requests found
......@@ -402,11 +402,7 @@ $(document).ready(function(){
//use infield labels
$("label.infield").inFieldLabels();
// hide log in button etc. when form fields not filled
$('#submit').hide();
$('#remember_login').hide();
$('#remember_login+label').hide();
$('input#user, input#password').keyup(function() {
checkShowCredentials = function() {
var empty = false;
$('input#user, input#password').each(function() {
if ($(this).val() == '') {
......@@ -422,7 +418,10 @@ $(document).ready(function(){
$('#remember_login').show();
$('#remember_login+label').fadeIn();
}
});
}
// hide log in button etc. when form fields not filled
checkShowCredentials();
$('input#user, input#password').keyup(checkShowCredentials);
$('#settings #expand').keydown(function(event) {
if (event.which == 13 || event.which == 32) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment