Ref D20122. This is something I wanted in a bunch of places. Looks like at some point the most-annoying one (autofocus for entering TOTOP codes) already got fixed at some point.
Details
Details
- Reviewers
epriestley - Commits
- rPf2236eb061a6: Autofocus form control for adding TOTP codes
Loaded the form, got autofocus as expected.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- autofocus (branched from master)
- Lint
Lint Errors Severity Location Code Message Error /Users/amckinley/src/phacility/core/lib/libphutil/src/filesystem/Filesystem.php:428 PHL1 Unknown Symbol Error /Users/amckinley/src/phacility/core/lib/libphutil/src/filesystem/Filesystem.php:568 PHL1 Unknown Symbol - Unit
Tests Passed - Build Status
Buildable 21885 Build 29879: Run Core Tests Build 29878: arc lint + arc unit
Event Timeline
Comment Actions
When forms load in an Ajax dialog, I think we autofocus the first input, but don't do that if dialogs load on standalone pages. I don't think this can hurt, at least.