Bug 25031: (QA follow-up) Avoid displaying extra navigation
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 Jul 2020 19:49:33 +0000 (19:49 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Jul 2020 12:09:30 +0000 (14:09 +0200)
commit784e4685de0934c939f7047bcea191088169d824
tree1605581b02fb873b5704f55f96f7c153b75540f7
parentfa8c57e55d3f3cc027bc6e9d0fdf8dad81555453
Bug 25031: (QA follow-up) Avoid displaying extra navigation

This patch reworks the construction of the navigation links in such a
way that they are built during a loop over an updated jQuery object.
Previously the stored variable might not reflect that some elements
had been removed.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt