PDA

View Full Version : KeyMap is not working in opera browser



kssen2004
14 Jul 2010, 5:37 AM
KeyMap is not working in opera browser.

My code
var keyctrl = new Ext.KeyMap(Ext.get(document),{key:'r',
ctrl:true,
fn: function(keycode, e) {
e.preventDefault();
e.stopEvent();
}
});

above code is working in firebox,ie,chrome browsers. it is not working opera browser.
Does anyone have an idea how to fix it?

Animal
14 Jul 2010, 5:39 AM
Looks like Opera doesn't let you hijack its CTRL/R functionality.

So it goes...

kssen2004
14 Jul 2010, 5:55 AM
is there any other way to control CTRL/R functionality?