PKP Bugzilla – Bug 6115
citation assistant: remap ctrl+a = save+approve and ctrl-c = cancel to make sure that copy/paste is not overridden
Last modified: 2011-01-31 12:13:35 PST
ctrl+a and ctrl+c are important to support normal copy&paste operation. Use different hotkeys for approval and cancel.
Perhaps approve can be ctrl-enter and ctrl-esc could be cancel? Whatever it is, it might be nice to have them under the button text for the important ones. e.g., approve <br/> [ctrl-enter] tarek : )
Thanks for that proposal. I agree with both. We'll try to implement that although I cannot promise that we'll find a cross-browser / cross-OS way to catch esc in JavaScript. Return will not be a problem, I think. The change is scheduled for 2.3.4 which unfortunately will take a bit to come out. Maybe I find a way to provide a patch earlier as this really improves usability quite a bit. As far as the hotkey hint is concerned: This is already implemented. Hover your mouse pointer over the buttons or other UI elements and you'll see whether they have a hotkey attached. That's how MS Office and many other applications do it.
Thank you. I had looked and not seen the hover hint before, but it is obviously there. tarek : )
Created attachment 3330 [details] Patch against pkp-lib development. Tarek, can you please see whether this patch works for you?
Fixed, see https://github.com/pkp/pkp-lib/commit/f9cac26348db01af32acdccf68516c0db1669e9b. Pending cross-browser test.