]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1708951: fix tabbing in webstaff catalog app for Firefox
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 11 Sep 2017 19:43:18 +0000 (15:43 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 15 Sep 2017 21:37:21 +0000 (17:37 -0400)
commitc43bc5b98fc51849958e7213ae706c795e803d3a
tree61bb81b1f303c4c8e332aebafcf0ebecf876cb35
parent484acd7f2015cddd3d49ade0e61f7571a867d5ff
LP#1708951: fix tabbing in webstaff catalog app for Firefox

This patch works around an issue where Firefox appears to require
that the iframe for the embedded OPAC not have a null catalog_url
value. It also fixes an issue where navigating to the OPAC View tab
after retrieving the record with a different default view set would
cause it to jump back to that default view... the first time.

To test:

[1] In the web staff client, retrieve a bib record and set the default
    view to a tab other than 'OPAC View'.
[2] Retrieve another bib by TCN or ID. Note that although the default tab
    will briefly display, the page will jump over to the OPAC view and
    display an empty record.
[3] Apply the patch and repeat step 2. This time, it should display the
    record with the current default view.
[4] Select the 'OPAC View' tab and verify that it loads the record details
    page.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js