Bug 21407: Can't enter new macros in the advanced cataloging editor (rancor)
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Sep 2018 13:51:02 +0000 (13:51 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Oct 2018 09:20:28 +0000 (10:20 +0100)
commit9fbd65ca5228641042975169e8217a0f14ac28c4
tree1aa5be1be13d66cb3fd3bf3f6f26ec82b1e2bdef
parent5d677af3b4b5095145c359f69f6304f24fe2d590
Bug 21407: Can't enter new macros in the advanced cataloging editor (rancor)

This patch upgrades Codemirror to the latest version (5.40.2). Doing so
fixes a problem with the advanced cataloging editor's macro editor which
appears in the latest version of Firefox (62): The first line of the
macro editor is not visible.

To test, apply the patch and clear your browser cache if necessary.
EnableAdvancedCatalogingEditor must be set to "Enable."

- Go to Cataloging -> Advanced editor.
- Click the "Macros" toolbar button.
- In the main part of this modal window you should see a blank line
  marked "1."
- Click "New macro..."
- The editor's line 1 should now be editable. Enter text to confirm that
  it works correctly.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 01470fab9eabd3750746b540389de7a6d85fda05)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/lib/codemirror/codemirror-compressed.js
koha-tmpl/intranet-tmpl/lib/codemirror/codemirror.css