- fix key repetition (#1485672)

release-0.6
alecpl 16 years ago
parent b4ee74cda7
commit 1691a8e91a

@ -90,7 +90,7 @@ init: function()
// set body events
if (this.keyboard) {
rcube_event.add_listener({element:document, event:'keypress', object:this, method:'key_press'});
rcube_event.add_listener({element:document, event:bw.opera?'keypress':'keydown', object:this, method:'key_press'});
rcube_event.add_listener({element:document, event:'keydown', object:this, method:'key_down'});
}
}
@ -680,7 +680,8 @@ key_down: function(e)
{
case 27:
if (this.drag_active)
this.drag_mouse_up(e);
return this.drag_mouse_up(e);
case 40:
case 38:
case 63233:

Loading…
Cancel
Save