Permalink
Browse files

Bugfix - don't use control keys if alt key is also down (to fix Polish)

  • Loading branch information...
moodler
moodler committed Nov 30, 2003
1 parent b405515 commit 086f592ebc648c93a7b45eb654d93e05202731ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/editor/htmlarea.php
View
@@ -1464,7 +1464,7 @@ function (str, l1, l2, l3) {
HTMLArea.prototype._editorEvent = function(ev) {
var editor = this;
var keyEvent = (HTMLArea.is_ie && ev.type == "keydown") || (ev.type == "keypress");
- if (keyEvent && ev.ctrlKey) {
+ if (keyEvent && ev.ctrlKey && ! ev.altKey) {
var sel = null;
var range = null;
var key = String.fromCharCode(HTMLArea.is_ie ? ev.keyCode : ev.charCode).toLowerCase();

0 comments on commit 086f592

Please sign in to comment.