Bug 37330: (bug 33526 follow-up) Fix display of cover images for items
The id has been modified by bug 33526. We can simply pass the table element however. Test plan: Have some cover images at item level and notice that they are correctly displayed on the bibliographic record detail page. Note that the slider does not work correctly. If you click on the dot (so if you have several images for an item) the scrollbar is going to hit the top of the page and the image won't change. Could be reported separately if not done yet. Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
326c0156f4
commit
1e3d24e058
1 changed files with 1 additions and 2 deletions
|
@ -1480,8 +1480,7 @@
|
|||
}
|
||||
|
||||
let build_items_table_drawncallback = function (table) {
|
||||
let tab_id = table.parents('.tab-pane').attr('id');
|
||||
verify_cover_images($("#" + tab_id + '_table'));
|
||||
verify_cover_images(table);
|
||||
};
|
||||
|
||||
function removeLocalImage(imagenumber) {
|
||||
|
|
Loading…
Reference in a new issue