Menu

#443 Set focus on search page

open
nobody
None
5
2008-01-22
2008-01-22
Colin Law
No

I use the search page a lot and I get frustrated at having to click in the search term field every time. In Firefox a tab suffices but in IE it takes numerous tabs. So here is a patch to set the focus to the first field on loading the page (except on the multi site search).

Discussion

  • Colin Law

    Colin Law - 2008-01-22

    Patch to set focus on search page

     
  • Anonymous

    Anonymous - 2008-01-25

    Logged In: YES
    user_id=1910459
    Originator: NO

    Great idea Colin, thanks.

     
  • Gerry Kroll

    Gerry Kroll - 2008-01-26

    Logged In: YES
    user_id=1198414
    Originator: NO

    Please re-post the attachment as a complete PHP script. ZIP format is preferred, and should include the subdirectory where the script normally resides.

    Not everybody is familiar with the *nix patch file format, or uses *nix as a development platform.

     
  • Colin Law

    Colin Law - 2008-01-26

    Logged In: YES
    user_id=1943921
    Originator: YES

    Sorry. It is an svn diff rather than a unix one. I assumed that being an svn based project this would be the recommended method of submitting patches. Tortoisesvn is able to apply patch files directly and I believe unix systems have a patch command for the same thing. I would recommend trying it as it copes with the situation where the version the recipient has checked out may not be the same version that the submitter made the change on. I have attached a zip file as requested.
    File Added: search.zip

     
  • Colin Law

    Colin Law - 2008-01-26

    Zip file with modified search.php

     
  • KosherJava

    KosherJava - 2008-05-12

    Logged In: YES
    user_id=634811
    Originator: NO

    Was this ever added to SVN?

     

Log in to post a comment.