]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 31 Oct 2022 16:55:17 +0000 (16:55 +0000)
commit5abc149682d346555b0393afb17221a4138aba86
tree61e33f6cff3c847fea2a006b0516bd5abcf7cad3
parenta7b67c08ac74565ef26f4277ecc6121744f16d2b
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>
(cherry picked from commit 9bee75e107178e4ca907cc3a8c7399f3a128fbe6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc