Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 84230fcd79 Bug 25702: Actions button on Search results from Z39.50 is displayed incorrectly
This patch modifies, again, the way the actions popup is implemented in
Z39.50 search results, whether it be in cataloging, authorities, or
acquisitions. The solution for Bug 25282 changed some markup which was
being referred to in JavaScript. This patch makes the markup more
consistent and unifies handling of the menu in one JavaScript file.

The solution changes the way a menu is generated when the user clicks
within the row of Z39.50 search results (not on the "Actions" button).
The script now creates a clone of the actions menu in that row and
appends it to the <td> the user clicked on.

To test, apply the patch and clear your browser cache if necessary. Test
these three areas in the same way:

1. Cataloging -> New from Z39.50 -> Search
2. Authorities -> New from Z39.50 -> Search
3. Acquisitions -> Vendor -> Add to Basket -> From an external source ->
Search.

In each case, test the functionality of the "Actions" menu button in the
last column ("Preview" in Acquisitions search results). The menu
should be positioned correctly and menu choice works correctly

Click anywhere else in the search results table. The same actions menu
should be triggered in that table cell. Confirm that these menu items
work correctly according to the row which was clicked.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-06-23 10:15:03 +02:00
..
pages Bug 24808: enable translation on results.js 2020-05-04 08:23:55 +01:00
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js Bug 25563: (bug 24386 follow-up) Don't disable submit button if form has not been submitted yet 2020-05-22 09:07:02 +01:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 24522: Show alert when trying to add nothing to a list in staff 2020-05-04 09:44:42 +01:00
basketgroup.js
biblio_framework.js
cart.js
catalog.js
cataloging.js Bug 11446: Use encodeURIComponent on search terms in authority lookup plugin 2020-05-18 15:25:54 +01:00
cataloging_additem.js
categories.js
charts.js
checkouts.js Bug 25291: Escape barcode in ReturnClaims table display 2020-04-29 16:18:54 +01:00
circ-patron-search-results.js
datatables.js Bug 24561: (follow-up) Use full_numbers for pagingType 2020-05-12 11:39:30 +01:00
file-upload.js
funds_sorts.js
holds.js
ill-availability-partner.js Bug 23173: (follow-up) Display available partners 2020-04-06 11:04:59 +01:00
ill-availability.js Bug 23173: Provide core infrastructure 2020-04-06 11:04:19 +01:00
ill-list-table.js Bug 24043: (QA follow-up) Fix another TypeError when retrieving status name 2020-05-01 08:10:35 +01:00
item_search_fields.js
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js Bug 23808: (follow-up) Display card number in 'Guarantor information' in memberentry.pl 2020-03-20 15:22:47 +00:00
merge-record.js
messaging-preference-form.js
offlinecirc.js
onboarding.js
rotating-collections.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 25363: Merge common.js with staff-global.js 2020-06-15 11:53:36 +02:00
subscription-add.js Bug 23888: (follow-up) Wrap English string in translation function 2020-03-27 12:14:21 +00:00
suggestions.js Bug 24819: (follow-up) Rename suggestor to suggester 2020-04-20 13:36:42 +01:00
table_filters.js
tools-menu.js
viewlog.js Bug 25250: (bug 24982 follow-up) Don't disable checkboxes if modification log 2020-04-27 11:41:38 +01:00
xmlControlfield.js
z3950_search.js Bug 25702: Actions button on Search results from Z39.50 is displayed incorrectly 2020-06-23 10:15:03 +02:00