[dw-free] "Edit" on Select Journal Style does not work in all use-cases
[commit: http://hg.dwscoalition.org/dw-free/rev/c042ca0506c8]
http://bugs.dwscoalition.org/show_bug.cgi?id=2766
Focus on the textbox when you click edit, so you don't need to guess where
the action is.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2766
Focus on the textbox when you click edit, so you don't need to guess where
the action is.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/Widget/JournalTitles.pm
-------------------------------------------------------------------------------- diff -r 5c365a750215 -r c042ca0506c8 cgi-bin/LJ/Widget/JournalTitles.pm --- a/cgi-bin/LJ/Widget/JournalTitles.pm Mon May 16 16:15:29 2011 +0800 +++ b/cgi-bin/LJ/Widget/JournalTitles.pm Mon May 16 17:14:31 2011 +0800 @@ -135,6 +135,7 @@ editTitle: function (evt, id) { $(id + "_modify").style.display = "inline"; $(id + "_view").style.display = "none"; + $(id).focus(); // cancel any other titles that are being edited since // we only want one title in edit mode at a time --------------------------------------------------------------------------------