diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-20 16:27:18 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-20 16:27:18 +0200 |
commit | 56ddb90de1000c4ed8e95019805fa93d38b94231 (patch) | |
tree | d9110248a2c1c83506108309d528f47d7c07e476 /application/palemoon/base/content/newtab/newTab.xhtml | |
parent | 856d0c991c097eff35ed098a1e30992c0f57165a (diff) | |
download | UXP-56ddb90de1000c4ed8e95019805fa93d38b94231.tar UXP-56ddb90de1000c4ed8e95019805fa93d38b94231.tar.gz UXP-56ddb90de1000c4ed8e95019805fa93d38b94231.tar.lz UXP-56ddb90de1000c4ed8e95019805fa93d38b94231.tar.xz UXP-56ddb90de1000c4ed8e95019805fa93d38b94231.zip |
Issue #517 Part 1: Fix newtab Search
Diffstat (limited to 'application/palemoon/base/content/newtab/newTab.xhtml')
-rw-r--r-- | application/palemoon/base/content/newtab/newTab.xhtml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/application/palemoon/base/content/newtab/newTab.xhtml b/application/palemoon/base/content/newtab/newTab.xhtml index eef51b4b2..3017c02cb 100644 --- a/application/palemoon/base/content/newtab/newTab.xhtml +++ b/application/palemoon/base/content/newtab/newTab.xhtml @@ -60,14 +60,13 @@ </div> </div> - <div id="newtab-search-container"> - <div id="newtab-search-form"> - <div id="newtab-search-icon"/> - <input type="text" name="q" value="" id="newtab-search-text" - aria-label="&contentSearchInput.label;" maxlength="256"/> - <input id="newtab-search-submit" type="button" - title="&contentSearchSubmit.tooltip;"/> - </div> + <div id="searchContainer"> + <form name="searchForm" id="searchForm" onsubmit="onSearchSubmit(event)"> + <div id="searchLogoContainer"><img id="searchEngineLogo"/></div> + <input type="text" name="q" value="" id="searchText" maxlength="256" + autofocus="autofocus"/> + <input id="searchSubmit" type="submit" value="&newtab.searchEngineButton.label;"/> + </form> </div> <div id="newtab-horizontal-margin"> @@ -84,6 +83,5 @@ value="⚙" title="&newtab.customize.title;"/> </body> -<script type="text/javascript;version=1.8" src="chrome://browser/content/contentSearchUI.js"/> <script type="text/javascript;version=1.8" src="chrome://browser/content/newtab/newTab.js"/> </html> |