]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 504522: The search field on index.cgi is not cleared automatically when entering...
authorlpsolit%gmail.com <>
Tue, 21 Jul 2009 00:23:34 +0000 (00:23 +0000)
committerlpsolit%gmail.com <>
Tue, 21 Jul 2009 00:23:34 +0000 (00:23 +0000)
skins/standard/index.css
template/en/default/index.html.tmpl

index a3413bb7ea32e6008ff1d1a24b5f8b5cc91ffded..09a81b541429468956ac8f5ca56557d02ac2367a 100644 (file)
@@ -74,7 +74,7 @@
         margin-bottom: 2em;
     }
     
-    #quicksearchForm #quicksearch
+    #quicksearchForm #quicksearch_main
     {
         width: 25em;
     }
index 558f5a9685323940392da6e493e77f7bdc84ae31..82fbf9bd707dd67be1b3eb4c13d9caa8d0853d42 100644 (file)
@@ -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');"
             >