]> git.koha-community.org Git - koha.git/commit
Bug 21411: Advanced cataloging editor - rancor - Allow configuration of Keyboard
authorNick Clemens <nick@bywatersolutions.com>
Mon, 4 Mar 2019 16:23:31 +0000 (11:23 -0500)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 May 2019 18:59:39 +0000 (18:59 +0000)
commit8b7342a823582462798bf2115d2f2e9897485184
treedfad36427e6a3da08b558045986e99ec1a44121d
parentca605455c24c032a389cbe0d3388f90620501c3b
Bug 21411: Advanced cataloging editor - rancor - Allow configuration of Keyboard

This patch allows for redfining the keyboard shortcuts used in rancor.
For now these are set globally (per instance)
Ctrl-S is a codemirror setting and cannot be altered

To test:
 1 - Apply patches
 2 - update database
 3 - Load the advanced cataloging editor
 4 - Click the "Keyboard shortcuts" button
 5 - Ensure the list looks correct
 6 - Note that 'Ctrl-S' note sit cannot be remapped
 7 - Note the 'Redefine shortcuts' link at the top of the menu
 8 - Confirm all the listed shortcuts work as expected
 9 - Click the 'Redefine' link
10 - Ensure current mappings load correctly
11 - Read explanation and verify it makes sense
12 - Remap some functions
13 - Return to the cataloging editor
14 - Confirm your mappings work

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
12 files changed:
Koha/KeyboardShortcut.pm [new file with mode: 0644]
Koha/KeyboardShortcuts.pm [new file with mode: 0644]
cataloguing/editor.pl
installer/data/mysql/atomicupdate/add_keyboard_shortcuts.perl [new file with mode: 0644]
installer/data/mysql/en/mandatory/keyboard_shortcuts.sql [new file with mode: 0644]
installer/data/mysql/en/mandatory/keyboard_shortcuts.txt [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/adveditorshortcuts.tt [new file with mode: 0644]
tools/adveditorshortcuts.pl [new file with mode: 0755]