Marcel de Rooy
5233709984
Functional change: Instead of requiring two clicks for each option in the Actions menu, we add a default action based on previous activity. NOTE: In order to prioritize MARC and Card preview actions, we will only remember Import and Order when it is not preceded by a preview. In other words: If you directly click Import, Import comes back. If you click Card and Import, Card comes back. Technical changes: [1] Combine Preview and Order button on Acquisition Z3950 search. [2] Use Actions link as default action and add button with caret to open the dropdown. [3] Keep last action in localStorage (sessionStorage makes not much sense for the popups), prioritizing previews. [4] Where needed, add title attributes to dropdown links. Use class 'chosen' to differentiate preview popups from import/order actions. [5] Replace previewMARC by previewData in Authority Z3950 search. Remove duplicate code. [6] Use link href from template instead of constructing link in javascript. [7] Removing unused linktools markup from acqui template. Test plan: [1] Start on acqui Z3950. Choose Card once from the menu and then Order. [2] Start auth Z3950. Verify that Default is MARC now. Close popup. (Since Card is no option here.) [3] Start cataloguing Z3950. Verify that you have Card as default. Click Import rightaway. [4] Back to auth Z3950. Verify that Import is default. Click Import. [5] Back to acqui Z3950. Verify that MARC is default (no Import here). Click Order. Go back and verify that Order is now default. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
pages | ||
acq.js | ||
acquisitions-menu.js | ||
additem.js | ||
addorderiso2709.js | ||
admin-menu.js | ||
ajax.js | ||
audio_alerts.js | ||
auth-finder-search.js | ||
automatic_item_modification_by_age.js | ||
background-job-progressbar.js | ||
basket.js | ||
basketgroup.js | ||
biblio_framework.js | ||
calendar.js | ||
cart.js | ||
catalog.js | ||
cataloging.js | ||
cataloging_additem.js | ||
categories.js | ||
charts.js | ||
checkouts.js | ||
circ-patron-search-results.js | ||
datatables.js | ||
desk_selection.js | ||
file-upload.js | ||
funds_sorts.js | ||
holds.js | ||
ill-availability-partner.js | ||
ill-availability.js | ||
ill-list-table.js | ||
item_search_fields.js | ||
letter.js | ||
localcovers.js | ||
mana.js | ||
marc_modification_templates.js | ||
marc_subfields_structure.js | ||
members-menu.js | ||
members.js | ||
merge-record.js | ||
messaging-preference-form.js | ||
offlinecirc.js | ||
onboarding.js | ||
register_selection.js | ||
rotating-collections.js | ||
select2.js | ||
serials-toolbar.js | ||
showpredictionpattern.js | ||
sms_providers.js | ||
staff-global.js | ||
subscription-add.js | ||
table_filters.js | ||
tools-menu.js | ||
viewlog.js | ||
xmlControlfield.js | ||
z3950_search.js |