summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-07-21 02:20:45 +0200
committerlpsolit%gmail.com <>2009-07-21 02:20:45 +0200
commitc9ce039ea505c16c586dea94ad91d98bfc1ef0e3 (patch)
treece543825e4e772f04e952557605184eec640cc34
parentb898698bd31de48e784a4145cd0fabcb0f7943bf (diff)
downloadbugzilla-c9ce039ea505c16c586dea94ad91d98bfc1ef0e3.tar.gz
bugzilla-c9ce039ea505c16c586dea94ad91d98bfc1ef0e3.tar.xz
Bug 504522: The search field on index.cgi is not cleared automatically when entering the field (IE 7 and older only) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=pyrzak r=mkanat a=LpSolit
-rw-r--r--skins/standard/index.css2
-rw-r--r--template/en/default/index.html.tmpl7
2 files changed, 5 insertions, 4 deletions
diff --git a/skins/standard/index.css b/skins/standard/index.css
index a3413bb7e..09a81b541 100644
--- a/skins/standard/index.css
+++ b/skins/standard/index.css
@@ -74,7 +74,7 @@
margin-bottom: 2em;
}
- #quicksearchForm #quicksearch
+ #quicksearchForm #quicksearch_main
{
width: 25em;
}
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index 558f5a968..82fbf9bd7 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -40,7 +40,7 @@
<script type="text/javascript">
<!--
function onLoadActions() {
- quicksearchHelpText('quicksearch', 'show');
+ quicksearchHelpText('quicksearch_main', 'show');
if( window.external.AddSearchProvider ){
YAHOO.util.Dom.removeClass('quicksearch_plugin', 'bz_default_hidden');
}
@@ -134,7 +134,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
<a id="query" class="bz_common_actions"
href="query.cgi"><span>Search</span></a>
- <a id="account" class="bz_common_actions quicksearch_help_text"
+ <a id="account" class="bz_common_actions"
[% IF user.id %]
href="userprefs.cgi"><span>User Preferences</span></a>
[% ELSIF Param('createemailregexp')
@@ -144,10 +144,11 @@ YAHOO.util.Event.onDOMReady(onLoadActions);
[% ELSE %]
href="?GoAheadAndLogIn=1"><span>Log In</span></a>
[% END %]
+
<form id="quicksearchForm" name="quicksearchForm" action="buglist.cgi"
onsubmit="return checkQuicksearch(this);">
<div>
- <input id="quicksearch" type="text" name="quicksearch"
+ <input id="quicksearch_main" type="text" name="quicksearch"
onfocus="quicksearchHelpText(this.id, 'hide');"
onblur="quicksearchHelpText(this.id, 'show');"
>