Author: reebalazs
Date: Wed Feb 21 18:16:30 2007
New Revision: 39299
Modified:
kukit/kukit.js/trunk/kukit/plugin.js
Log:
Trivial javascript bug fix, affecting the handling of the keyCode parameters in
key events
Modified: kukit/kukit.js/trunk/kukit/plugin.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/plugin.js (original)
+++ kukit/kukit.js/trunk/kukit/plugin.js Wed Feb 21 18:16:30 2007
@@ -157,7 +157,7 @@
target = kukit.pl.getTargetForBrowserEvent(e);
if (allowbubbling || target == node) {
var keyCode = e.keyCode.toString();
- if (! oper.parms.keycodes || keycodes[keyCode]) {
+ if (oper.parms.keycodes.length == 0 || keycodes[keyCode]) {
// Execute the action, provide browserevent on oper
func_to_bind({'browserevent': e});
// Cancel default event
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins