]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix whitespace username in the installation form
authorGeorg Ehrke <ownclouddev@georgswebsite.de>
Mon, 2 Jan 2012 13:21:46 +0000 (14:21 +0100)
committerGeorg Ehrke <ownclouddev@georgswebsite.de>
Mon, 2 Jan 2012 13:21:46 +0000 (14:21 +0100)
core/js/setup.js

index b765d41ba351a7bac15c4aeee25bd78a2d8fa9fd..94097785e422cae42f16cdd98ca7c8abb1b34d28 100644 (file)
@@ -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);