Export to GitHub

js-hotkeys - issue #96

Support of jquery 1.4.3+ ?


Posted on Dec 17, 2010 by Swift Monkey

What steps will reproduce the problem? 1. Use jquery 1.4.3+ (but 1.4.2 works great) 2. jquery.hotkeys-0.7.9.js

What is the expected output? What do you see instead? When page loaded, the data is null, firebug console show an error about this on line with this code: if(data.combi){for(var x=0;x<handle.length;x++){var eventType=handle[x];var combi=data.combi.toLowerCase(),trigger=hotkeys.newTrigger(eventType,combi,fn),selectorId=((this.prevObject&&this.prevObject.query)||(this[0].id&&this[0].id)||this[0]).toString();trigger[eventType][combi].disableInInput=data.disableInInput;if(!hotkeys.triggersMap[selectorId]){hotkeys.triggersMap[selectorId]=trigger;}

What version of the product are you using? On what operating system? Browser Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

I realy do not belive that you are still provide support, but i have no choice - i'm lack of knowledge in jquery plugins coding to fix the problem. Но все равно спасибо.

Comment #1

Posted on Feb 14, 2011 by Happy Cat

I got the same issue. Can someone know how to solve it?

Comment #2

Posted on Feb 14, 2011 by Swift Monkey

Downgrading, unfortunally :(

Comment #3

Posted on Jun 9, 2011 by Helpful Dog

i have the same problem: data.combi is null when the page loaded. i have jquery v1.6.1

Comment #4

Posted on Jun 9, 2011 by Grumpy Monkey

Until someone starts maintaining js-hotkeys I've switched to a keyboard shortcut library called shortcut.js. It does not interact with jQuery and therefore cannot break the jQuery internals: http://www.openjs.com/scripts/events/keyboard_shortcuts/

Status: New

Labels:
Type-Defect Priority-Medium