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.maur...@biblibre.com
          Reporter: julian.maur...@biblibre.com
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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