Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

auto-focus on comment field on play

#42

Reported by sudara · May 1st, 2008 @ 03:50 AM

State: resolved
Milestone: none
Assigned to: Tien Dung Tien Dung

Activity

  1. Tien Dung
    Tien Dung

    I implemented it on my repo. Please check.

    October 12th, 2008 @ 05:29 AM

  2. sudara
    sudara

    No way!!

    Awesome, I'll check it out. On Oct 12, 2008, at 5:29 PM, Lighthouse wrote:

    October 12th, 2008 @ 05:55 AM

  3. Tien Dung
    Tien Dung

    I improved it a little bit. Now everytime a user click the play button or click the "comment tab". The corresponding comment text box will be get focus.

    October 12th, 2008 @ 04:16 PM

  4. sudara
    sudara

    Hmm, it works for me when I click 'play' but not when I click the tab...

    October 13th, 2008 @ 07:24 AM

  5. Tien Dung
    Tien Dung

    For the tab, I've increased the delay time from 30 to 60 ms. Hope it will work on other machines. In my machine, 30ms works well with FF, Safari and Opera.

    Feel free to change this line in application.js

    setTimeout(setFocusToCurrentCommentBox, 60);

    October 13th, 2008 @ 12:30 PM

  6. Tien Dung
    Tien Dung
    • Assigned user changed from sudara to Tien Dung
    • State changed from new to open

    October 14th, 2008 @ 12:04 PM

  7. Tien Dung
    Tien Dung
    • State changed from open to resolved
    • Tag set to feature

    I believe that Sudara fixed it nicely Let close it.

    October 19th, 2008 @ 03:05 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.