AnitaTang / js-hotkeys

Automatically exported from code.google.com/p/js-hotkeys
0 stars 0 forks source link

Support of jquery 1.4.3+ ? #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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),se
lectorId=((this.prevObject&&this.prevObject.query)||(this[0].id&&this[0].id)||th
is[0]).toString();trigger[eventType][combi].disableInInput=data.disableInInput;i
f(!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. Но 
все равно спасибо.

Original issue reported on code.google.com by AntonGor...@gmail.com on 17 Dec 2010 at 9:39

GoogleCodeExporter commented 8 years ago
I got the same issue. Can someone know how to solve it?

Original comment by mail%xio...@gtempaccount.com on 14 Feb 2011 at 12:25

GoogleCodeExporter commented 8 years ago
Downgrading, unfortunally :(

Original comment by AntonGor...@gmail.com on 14 Feb 2011 at 7:11

GoogleCodeExporter commented 8 years ago
i have the same problem:
data.combi is null
when the page loaded.
i have jquery v1.6.1

Original comment by userweb%...@gtempaccount.com on 9 Jun 2011 at 12:42

GoogleCodeExporter commented 8 years ago
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/

Original comment by joeson...@gmail.com on 9 Jun 2011 at 4:52