From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id c526cdcb for ; Thu, 28 Apr 2016 12:59:45 -0500 (EST) Date: Thu, 28 Apr 2016 12:59:45 -0500 (EST) Message-Id: <9397797804575636768.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Set the "autofocus" attribute on the query text box. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Set the "autofocus" attribute on the query text box. Patch from Fabian dot Raetz at gmail dot com. Modified Files: -------------- mdocml: cgi.c Revision Data ------------- Index: cgi.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/cgi.c,v retrieving revision 1.129 retrieving revision 1.130 diff -Lcgi.c -Lcgi.c -u -p -r1.129 -r1.130 --- cgi.c +++ cgi.c @@ -384,7 +384,7 @@ resp_searchform(const struct req *req) "q.query) html_print(req->q.query); - puts("\" size=\"40\">"); + puts("\" size=\"40\" autofocus>"); /* Write submission and reset buttons. */ -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv