Nick Clemens
b34515a2d0
When implemented, the keyboard shortcuts could not use the system clipboard so Citrl-C was mapped to use the editor clipboard. As this now works with the system clipboard we should allow standard functionality and remap the Koha shortcut. This will not affect existing installations, however, they can modify the keyboard shortcut if they wish by visting: Administration->Keyboard shortcuts or Clicking the 'Redefine shortcuts' link under 'Keyboard shortcuts' in the advanced editor. To test: 1 - Apply this patch 2 - Reset all 3 - Confirm Ctrl-Alt-C is the command to 'Copy current field' in Keyboard shortcuts in the advanced editor Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
39 lines
1.4 KiB
SQL
39 lines
1.4 KiB
SQL
--
|
|
-- Default keyboard shortcuts
|
|
-- for Koha.
|
|
--
|
|
-- Copyright 2019 Koha Development Team
|
|
--
|
|
-- This file is part of Koha.
|
|
--
|
|
-- Koha is free software; you can redistribute it and/or modify it
|
|
-- under the terms of the GNU General Public License as published by
|
|
-- the Free Software Foundation; either version 3 of the License, or
|
|
-- (at your option) any later version.
|
|
--
|
|
-- Koha is distributed in the hope that it will be useful, but
|
|
-- WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
-- GNU General Public License for more details.
|
|
--
|
|
-- You should have received a copy of the GNU General Public License
|
|
-- along with Koha; if not, see <http://www.gnu.org/licenses>.
|
|
|
|
-- keyboard shortcuts
|
|
INSERT INTO keyboard_shortcuts (shortcut_name, shortcut_keys) VALUES
|
|
("insert_copyright","Alt-C"),
|
|
("insert_copyright_sound","Alt-P"),
|
|
("insert_delimiter","Ctrl-D"),
|
|
("subfield_help","Ctrl-H"),
|
|
("link_authorities","Shift-Ctrl-L"),
|
|
("delete_field","Ctrl-X"),
|
|
("delete_subfield","Shift-Ctrl-X"),
|
|
("new_line","Enter"),
|
|
("line_break","Shift-Enter"),
|
|
("next_position","Tab"),
|
|
("prev_position","Shift-Tab"),
|
|
("toggle_keyboard", "Shift-Ctrl-K"),
|
|
("copy_line","Ctrl-Alt-C"),
|
|
("copy_subfield","Shift-Ctrl-C"),
|
|
("paste_line","Ctrl-P"),
|
|
("insert_line","Ctrl-I");
|