backport of r38639: fixed bug with ctrl-key no longer working

This commit is contained in:
Klaus Leithoff 2013-05-31 11:13:42 +00:00
parent 256740baf5
commit e8cb25e111

View File

@ -89,7 +89,7 @@ if (typeof Array.prototype.indexOf == "undefined")
function egwGetShiftState(e) function egwGetShiftState(e)
{ {
var state = EGW_AO_SHIFT_STATE_NONE; var state = EGW_AO_SHIFT_STATE_NONE;
state = egwSetBit(state, EGW_AO_SHIFT_STATE_MULTI, e.ctrkKey || e.metaKey); state = egwSetBit(state, EGW_AO_SHIFT_STATE_MULTI, e.ctrlKey || e.metaKey);
state = egwSetBit(state, EGW_AO_SHIFT_STATE_BLOCK, e.shiftKey); state = egwSetBit(state, EGW_AO_SHIFT_STATE_BLOCK, e.shiftKey);
return state; return state;