Merge lp:~jcsackett/launchpad/autofocus into lp:launchpad
| Status: | Merged | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approved by: | j.c.sackett on 2010-12-21 | ||||||||||||||||
| Approved revision: | no longer in the source branch. | ||||||||||||||||
| Merged at revision: | 12135 | ||||||||||||||||
| Proposed branch: | lp:~jcsackett/launchpad/autofocus | ||||||||||||||||
| Merge into: | lp:launchpad | ||||||||||||||||
| Diff against target: |
57 lines (+14/-0) 4 files modified
lib/lp/app/templates/root-index.pt (+3/-0) lib/lp/blueprints/templates/specifications-index.pt (+4/-0) lib/lp/code/templates/bazaar-index.pt (+4/-0) lib/lp/registry/templates/projects-index.pt (+3/-0) |
||||||||||||||||
| To merge this branch: | bzr merge lp:~jcsackett/launchpad/autofocus | ||||||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Leonard Richardson (community) | 2010-12-20 | Approve on 2010-12-21 | |
|
Review via email:
|
|||
Commit Message
[r=leonardr]
Description of the Change
Summary
=======
A number of search fields should auto focus on page load, and do not. This adds auto focus to those forms/fields.
Preimplemenation Talk
=======
Spoke with Curtis Hovey about how to set auto focus.
Implementation
==============
lib/lp/
lib/lp/
lib/lp/
lib/lp/
-------
In each file, added setFocusByName to the template for the form as it has been used elsewhere.
Demo & QA
=========
Open http://
Open http://
Open http://
Open http://
| j.c.sackett (jcsackett) wrote : | # |
> Approved, assuming that the inputs mentioned in setFocusByName will always be present.
That is the case; in each case the javascript is loaded after the form loads, and the form is not dynamic in nature.

Approved, assuming that the inputs mentioned in setFocusByName will always be present. (As far as I can tell by looking at the code, this is the case.)