[Koha-bugs] [Bug 17566] Change initial focus in item editor depending on last action

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 20 09:28:46 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17566

--- Comment #11 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Owen Leonard from comment #10)
> If we want to put the focus on the first select2-styled <select> I think we
> have to trigger it to open:
> 
> https://select2.github.io/examples.html#programmatic

Thanks for your feedback. Could not get it working rightaway..
Maybe for this reason:
http://stackoverflow.com/questions/2562723/javascript-focus-and-select-not-working-in-ff
Not spending too much time on it now.

> However, I wonder whether this bug makes too many assumptions about how
> catalogers want to work. In our framework the first subfield is "Withdrawn
> status," and that's almost never the first field the catalogers will want to
> change.
> 
> The focus returns to the search form at the top after I have edited an item,
> but what if I wanted to edit another item next?
> 
> I worry that this patch assumes a workflow which is not universal enough to
> make it appropriate.

Yeah. You made a QAer happy :)
But I must of course admit that this patch is in the 'foggy' category.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list