]> git.evergreen-ils.org Git - working/Evergreen.git/commit
webstaff: throw a kitchen sink at double-scrollbar issues
authorGalen Charlton <gmc@esilibrary.com>
Wed, 30 Nov 2016 10:25:52 +0000 (05:25 -0500)
committerKathy Lussier <klussier@masslnc.org>
Mon, 9 Jan 2017 15:58:59 +0000 (10:58 -0500)
commit1cd8e151cf32ab9b1a22ce057ae47dbbaf9ca1e8
treef9cc40d11e713d0c49092b50e16412c48950767c
parent42ffc72eb5d45f31fae8be66574527f2999a7bab
webstaff: throw a kitchen sink at double-scrollbar issues

This patch ameliorates, but does not eliminate, a bunch
of cases where double-scrollbars could appear.

[1] Adds iframe-resizer (https://github.com/davidjbradshaw/iframe-resizer, MIT license)
    as an option for automatically adjusting the height of an iframe
    to fit the contents.  This can be enabled by ensuring that
    the page to be embedded brings in

    /js/ui/default/staff/build/js/iframeResizer.contentWindow.min.j

    and adding an 'autoresize' attribute to the egEmbedFrame directive.

    This is now used by the legacy reports page.

[2] Gives a 'min-height' attribute to egEmbedFrame and sets a
    value for Dojo grid interfaces embedded by local and server admistration.
[3] Adds a 'allow-escape' attribute to egEmbedFrame; when set to
    true, adds buttons to allow the user to open the embedded page
    in a new tab.
[4] Removes some extraneous <div>s that were interferring with resizing
    for some grids.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
19 files changed:
Open-ILS/src/templates/conify/global/cat/authority/browse_axis.tt2
Open-ILS/src/templates/conify/global/cat/authority/browse_axis_authority_field_map.tt2
Open-ILS/src/templates/conify/global/cat/authority/control_set.tt2
Open-ILS/src/templates/conify/global/cat/authority/control_set_authority_field.tt2
Open-ILS/src/templates/conify/global/cat/authority/control_set_bib_field.tt2
Open-ILS/src/templates/conify/global/cat/authority/thesaurus.tt2
Open-ILS/src/templates/conify/global/config/actor_sip_fields.tt2
Open-ILS/src/templates/conify/global/config/asset_sip_fields.tt2
Open-ILS/src/templates/conify/global/config/global_flag.tt2
Open-ILS/src/templates/conify/global/config/rule_circ_duration.tt2
Open-ILS/src/templates/staff/base_js.tt2
Open-ILS/src/templates/staff/reporter/t_legacy.tt2
Open-ILS/src/templates/staff/share/t_eframe.tt2
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/admin/local/app.js
Open-ILS/web/js/ui/default/staff/admin/server/app.js
Open-ILS/web/js/ui/default/staff/bower.json
Open-ILS/web/js/ui/default/staff/services/eframe.js
Open-ILS/web/reports/oils_rpt_common.xhtml