]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1700635: enable eg-marc-editor for queued records in MARC Batch Import/Export
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 15 Sep 2017 21:02:31 +0000 (17:02 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 20 Sep 2017 22:04:17 +0000 (18:04 -0400)
commitd07e88235a50dfb7f7ddca8fc265cb94eac69891
tree174cc0c97a2db1d0efa50d9564057611e3a2f078
parent3e93cfcddb3622951e7b08d1463f70d96fad51f5
LP#1700635: enable eg-marc-editor for queued records in MARC Batch Import/Export

This enables the angular modal marc-editor to be called from
the vandelay dojo UI in the iFrame.

To test:

[1] In the web staff client, go to MARC Batch Import/Export and load
    some records in a Vandelay queue.
[2] Inspect the queue and choose View MARC.
[3] Click the Edit button, and verify that it brings up the
    web staff MARC editor.
[4] Make a change, then click Modify, then click Use Edits.
[5] Verify that the MARC view reflects the updated record.
[6] Go back to the queue. If the bib was /not/ imported into
    Evergreen, the bib attributes may change.
[7] Verify that steps 1-6 in the XUL client work (and that the XUL
    MARC editor is displayed).

Note that this patch doesn't ensure that the modal can save the
record and be dismissed via just a single click of the Modify button;
an issue was discovered with that that could not be resolved in time
for beta2.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/catalog/t_edit_marc_modal.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/cat/catalog/t_vandelay.tt2
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
Open-ILS/web/js/ui/default/vandelay/vandelay.js