From a1af757ef6e99fc17d635ab05470671b41fc44db Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 2 Jan 2012 14:21:46 +0100 Subject: [PATCH] Fix whitespace username in the installation form --- core/js/setup.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/js/setup.js b/core/js/setup.js index b765d41ba3..94097785e4 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);