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

            Bug ID: 39477
           Summary: Highlighting the item search field that is being
                    deleted doesn't work
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Steps to reproduce:
1. Administration - Item search fields
2. New field - fill out any values for the required fields and submit
3. Click the delete button for the new field

Expected result: koha-tmpl/intranet-tmpl/prog/js/item_search_fields.js#L13
thinks it will add the class "highlighted-row" to the table row, and that doing
so will show that row with a yellow background while the alert asks if you are
sure

Actual result: since CSRF protection added a form around the button, the row is
three parent()s up, not two, but even after adding the third parent(), the page
doesn't reflect the added class until after the confirm() alert is dismissed,
which is too late.

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