]> git.koha-community.org Git - koha.git/commit
Bug 31863: Account for changelanguage element when adjusting editor height
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 18 Oct 2022 20:53:03 +0000 (20:53 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Oct 2022 13:36:40 +0000 (10:36 -0300)
commit9bee75e107178e4ca907cc3a8c7399f3a128fbe6
tree21f04c3dd268e9ea2a907559b830440d3384d6c0
parent56abcd184c55f778b969c3889e6d0669a2cfe17a
Bug 31863: Account for changelanguage element when adjusting editor height

To test:
1. Turn on 'EnableAdvancedCatalogingEditor'
2. Go to a record with enough MARC data that it should take up the entire width of your screen,
3. The CodeMirror editor will only be 300px.
4. Resize your screen, nothing happens to the editor height
5. Apply patch
6. Look at the same record in your editor, the editor should go to the bottom of the page now. Resizing your screen should resize the editor.
7. Have some additional language packs installed, and change the language system pref so the '#changelanguage' option will appear.
8. Make sure the editor height is still being properly set.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc