[Pkg-owncloud-commits] [owncloud] 01/73: Show Login-Button when user+pw are autocompleted, fixes oc-1068
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:08:56 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.
commit e899c9989e39e0b542fe5489805e4721081c6624
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Fri Aug 3 13:15:15 2012 +0200
Show Login-Button when user+pw are autocompleted, fixes oc-1068
---
core/js/js.js | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/core/js/js.js b/core/js/js.js
index 8a60f70..dec6ea0 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list