[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 23 03:32:21 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #3 from Nick Clemens <nick at quecheelibrary.org> ---
(In reply to Marjorie Barry-Vila from comment #2)
> (In reply to Nick Clemens from comment #1)
> 
> Thanks Nick for explanation.
> Do you know a script js to remove focus?
> 
> Marjorie

>From what I see the intranetusersjs loads before the script on the page, so you
have to execute on window load to be able to steal focus.  Below should work

$(window).load(function (){
    $('[id^="tag_952_subfield_0_"]').focus();
});


I think the bigger issue though is that cataloging-search.inc is set to take
focus on every page where present.

The link created when you click to edit an item has an anchor at the end and I
am guessing the intention was, at one point, to set the focus to the edititem
id once an item was being edited.  I do think that is the more useful
fonctionality

Bug 11325 seems to be centered around the same issue with focus on the search
box.

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


More information about the Koha-bugs mailing list