Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Song Detail page, cursor doesn't jump back to input field after a message was flashed #30

Closed
matthiku opened this issue Feb 17, 2016 · 2 comments
Assignees
Labels

Comments

@matthiku
Copy link
Owner

No description provided.

@matthiku matthiku added the bug label Feb 17, 2016
@matthiku matthiku self-assigned this Feb 17, 2016
@matthiku
Copy link
Owner Author

Resolved on the Item Detail page
Files changed:
  • item.blade.php
    (similar other forms need to be changed likewise)
    The script which sets the focus initially, is now followed by this line:
    document.forms.inputForm.search.setAttribute('class', 'main-input');
  • helpers.js
    The method which closes the flash message now has this additional line:
    $('.main-input').focus();

@matthiku
Copy link
Owner Author

Resolved on most pages

matthiku added a commit that referenced this issue Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant