`ERROR: Unhandled error: Uncaught TypeError` when setting custom keyboard shortcut in viewer

Bug #1858117 reported by Kal Sze
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

calibre, version 4.7.0
macOS Mojave 10.14.6

ERROR: Unhandled error: Uncaught TypeError: onchange is not a function<br><span style="font-size:smaller">Error at userscript:viewer.js:26122:17</span>

Traceback (most recent call last):
    at HTMLAnchorElement.ρσ_anonfunc (userscript:viewer.js:16477:54)
    at close_customize_shortcut (userscript:viewer.js:25972:17)
    at commit_keyboard (userscript:viewer.js:26122:17)
TypeError: onchange is not a function

Steps that led to this error:
1. Open an ePub in Calibre's viewer;
2. Right-click in the window to bring up the options menu;
3. Click "Preferences";
4. Click "Keyboard shortcuts";
5. Click "Scroll forwards by screen-fulls";
6. Click "Add a new shortcut";
7. Press the right arrow key to get ArrowRight;
8. Click "OK";

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.