witten
/
luminotes
Archived
1
0
Fork 0

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.
This commit is contained in:
Dan Helfman 2009-08-07 18:14:00 -07:00
parent d7e970a089
commit 932a722284
3 changed files with 7 additions and 3 deletions

4
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.

View File

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

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() );