summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGeorg Ehrke <ownclouddev@georgswebsite.de>2012-01-02 14:21:46 +0100
committerGeorg Ehrke <ownclouddev@georgswebsite.de>2012-01-02 14:21:46 +0100
commita1af757ef6e99fc17d635ab05470671b41fc44db (patch)
treec999f1082f9d5a3987ad61c72ba8683a4c68c7e3 /core
parent534b6f3a098c8f2bb5993592e73f5af75c3c86bc (diff)
downloadnextcloud-server-a1af757ef6e99fc17d635ab05470671b41fc44db.tar.gz
nextcloud-server-a1af757ef6e99fc17d635ab05470671b41fc44db.zip
Fix whitespace username in the installation form
Diffstat (limited to 'core')
-rw-r--r--core/js/setup.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index b765d41ba35..94097785e42 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -7,7 +7,9 @@ $(document).ready(function() {
$('#dbhost').hide();
$('#dbhostlabel').hide();
}
-
+ $('#adminlogin').change(function(){
+ $('#adminlogin').val($.trim($('#adminlogin').val()));
+ });
$('#sqlite').click(function() {
$('#use_other_db').slideUp(250);
$('#dbhost').hide(250);