[Koha-bugs] [Bug 36347] New: Return claims table is loaded twice
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 16:09:11 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36347
Bug ID: 36347
Summary: Return claims table is loaded twice
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: julian.maurice at biblibre.com
Reporter: julian.maurice at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
The issue is caused by these lines in circulation.js:
$("#finesholdsissues a[data-toggle='tab']").on("shown.bs.tab", function(e){
$(this).click();
});
When the user clicks on a hidden tab, 'shown.bs.tab' is triggered and then
another click event is triggered. And because the table is loaded on tab click,
it is loaded twice.
Visually it can cause the rows to be duplicated (it is random, probably due to
timing, network latency, ...)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list