[Koha-bugs] [Bug 29895] New: Button [Add multiple items] stops responding when it's pressed and some multiple items added to basket

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 17 15:10:48 CET 2022


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

            Bug ID: 29895
           Summary: Button [Add multiple items] stops responding when it's
                    pressed and some multiple items added to basket
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Acquisitions
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: nugged at gmail.com
        QA Contact: testopia at bugs.koha-community.org

To reproduce:

1. get into basket, go find some biblio (i.e. press the "🧺 Add order" button on
some biblio) and get into adding items to basket interface, smth
/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=1&basketno=1&biblionumber=233
2. press [Add multiple items] button st get the next interface elements with
input for the number of items and the [Add] button.
3. add a few, 2 items, by pressing the [Add] button.
4. the modal will blink and 2 items added.
5. Extra interface with "number of items to add" and [Add] button gone, only
three buttons again:   [Add item] [Clear] [Add multiple items] .
6. but now if to press [Add multiple items] - nothing happens.

Looks like the item lost its listener or not mapped to listener when recreated
(if so).

It seems the issue in koha-tmpl/intranet-tmpl/prog/js/additem.js.

One side observation:
- if after this to press "Add item" button and add single item, then "Add
multiple items" starts to work for one time again.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list