Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2017 07:36:02 +0000 (UTC)
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50762 - head/en_US.ISO8859-1/htdocs/cgi
Message-ID:  <201708290736.v7T7a2Vi099405@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wosch
Date: Tue Aug 29 07:36:02 2017
New Revision: 50762
URL: https://svnweb.freebsd.org/changeset/doc/50762

Log:
  workaround for mobile devices: force to disable autocapitalize in input fields
  
  Without this change you have to type on an Android device: shift shift cat
  to search for the man page "cat" in lower case

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Tue Aug 29 07:34:32 2017	(r50761)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Tue Aug 29 07:36:02 2017	(r50762)
@@ -1738,7 +1738,7 @@ sub formquery {
 <form id="man" method="get" action="$BASE">
 <!-- Manual Page or Keyword Search: -->
 <span class="spaces">&nbsp;&nbsp;</span>
-<input id="query" value="$query" name="query" size="36" $autofocus />
+<input type="text" id="query" value="$query" name="query" size="36" autocapitalize="none" $autofocus />
 <button type="submit" name="apropos" value="0">man</button>
 <button type="submit" name="apropos" value="1">apropos</button>
 <br/>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708290736.v7T7a2Vi099405>