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

Phil Ringnalda <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Phil Ringnalda <[email protected]> ---
Are your steps to reproduce: 1. Edit an existing item, and then...?

The link targets the "<h2 id="additema">Add item</h2>" which only exists when
you are not editing an existing item. The patch adding it expected that edit
links would instead target #edititem, and added that target to links from the
holdings table, but not from the Items tab (and I wouldn't be surprised if
there are other edit item links, say in serials or acq).

But even if your edit link targets #edititem, you still might scroll up and
then you'll have a broken link pretending it will take you back to the form,
which should have the same conditional that determines whether to have an
additema or an edititem, [% IF op != 'cud-saveitem' %]#additema[% ELSE
%]#edititem[% END %].

Or, we could just target #f since the form is always there.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to