Browse Source

Fixed a bug that prevented use of the AltGr key on Polish and other keyboards.

H: Enter commit message.  Lines beginning with 'HG:' are removed.
master
Dan Helfman 10 years ago
parent
commit
932a722284
3 changed files with 7 additions and 3 deletions
  1. 4
    0
      NEWS
  2. 1
    1
      config/Version.py
  3. 2
    2
      static/js/Wiki.js

+ 4
- 0
NEWS View File

@@ -1,3 +1,7 @@
1.6.18:
* Fixed a bug that prevented use of the AltGr key on Polish and other
keyboards.

1.6.17: July 26, 2009
* Fixed a bug that caused ever-growing notes in Internet Explorer 8.


+ 1
- 1
config/Version.py View File

@@ -1,2 +1,2 @@
VERSION = u"1.6.17"
VERSION = u"1.6.18"
TRIAL = False

+ 2
- 2
static/js/Wiki.js View File

@@ -1111,7 +1111,7 @@ Wiki.prototype.key_pressed = function ( event ) {
return;

var code = event.key().code;
if ( event.modifier().ctrl ) {
if ( event.modifier().ctrl && !event.modifier().alt ) {
// ctrl-m: make a new note
if ( code == 77 ) {
this.create_blank_editor( event );
@@ -1141,7 +1141,7 @@ Wiki.prototype.key_pressed = function ( event ) {
Wiki.prototype.editor_key_pressed = function ( editor, event ) {
var code = event.key().code;

if ( event.modifier().ctrl ) {
if ( event.modifier().ctrl && !event.modifier().alt ) {
// ctrl-backtick: message with frame HTML contents (for debugging)
if ( code == 192 || code == 96 ) {
this.display_message( editor.contents() );

Loading…
Cancel
Save