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

            Bug ID: 17988
           Summary: Select2 prevents correct tag expand/minimize
                    functionality
 Change sponsored?: ---
           Product: Koha
           Version: 16.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Overview: 
Select2 (Bug 13501) introduced divs and inputs that broke some assumptions
about the expected HTML structure.
Because of that, expanding fields to show all hidden subfields does not work
properly.

Steps to Reproduce: 
1. Open some book in the editor or create new (cataloguing/addbiblio.pl)
2. Try to minimize or expand fields, that have among subfields the following:
        — Thesaurus driven subfield → subfield with Select2
        — Hidden subfield.

Actual Results: 
 — some fields become hidden, some not, and vice versa
 — in the console, you'll see «Uncaught TypeError: Cannot read property 'match'
of null»

Expected Results: 
 — all subfields should minimize/maximize completely

Additional Information:
This happens because Select2 adds some divs, that do not have ID property.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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