Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium Milestone-Release-1.1 Component-Usability

New issue 1281 by [email protected]: Email field always is focused in user/login template
http://code.google.com/p/qubit-toolkit/issues/detail?id=1281

Now, when user/login page is loaded the e-mail field is focused in all
cases. However, it makes sense to me that password field gains focus when
password value is not valid.

note: may we should create a focus common behavior for all the pages in the
application?

e.g.:

(function ($)
  {
    if ($(".error").length)
    {
      $(".form-item:has(.error):first").find("input").select();
    }
    else
    {
      $("[name=email]").select();
    }
  })(jQuery);

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to