From 3a4d8873fb452d7039628ce066ec35356e9a3d3c Mon Sep 17 00:00:00 2001 From: "Silas S. Brown" <ssb22@cam.ac.uk> Date: Sun, 13 Dec 2015 22:17:50 +0000 Subject: [PATCH] Update Web Adjuster git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/adjuster@2369 29193198-4895-4776-b068-10539e920549 --- adjuster.py | 1 + 1 file changed, 1 insertion(+) diff --git a/adjuster.py b/adjuster.py index 0f4c34f..8396b8c 100755 --- a/adjuster.py +++ b/adjuster.py @@ -2052,6 +2052,7 @@ def htmlhead(title): return '<html><head><title>%s</title><meta name="mobileopti def urlbox_html(htmlonly_checked,cssOpts_html,default_url=""): r = htmlhead('Web Adjuster start page')+'<form action="/">'+options.boxPrompt+': <input type="text" name="q"' if default_url: r += ' value="'+default_url+'"' + else: r += ' placeholder="http://"' # HTML5 (Firefox 4, Opera 11, MSIE 10, etc) r += '><input type="submit" value="Go">'+searchHelp()+cssOpts_html # 'go' button MUST be first, before cssOpts_html, because it's the button that's hit when Enter is pressed. (So might as well make the below focus() script unconditional even if there's cssOpts_html. Minor problem is searchHelp() might get in the way.) if htmlonly_checked: htmlonly_checked=' checked="checked"' else: htmlonly_checked = "" -- GitLab