diff options
author | lpsolit%gmail.com <> | 2009-07-21 02:20:45 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-07-21 02:20:45 +0200 |
commit | c9ce039ea505c16c586dea94ad91d98bfc1ef0e3 (patch) | |
tree | ce543825e4e772f04e952557605184eec640cc34 /template | |
parent | b898698bd31de48e784a4145cd0fabcb0f7943bf (diff) | |
download | bugzilla-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
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/index.html.tmpl | 7 |
1 files changed, 4 insertions, 3 deletions
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');" > |