diff options
author | alecpl <alec@alec.pl> | 2010-07-26 10:52:06 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-07-26 10:52:06 +0000 |
commit | 1fe60e25c91266b44cee5cc5d858367df7929f90 (patch) | |
tree | 6bfaa6812bad1672d84bf786d511c32608d6d5e0 /program/js/app.js | |
parent | 503c3c70f425cb3136f310afe9489c5768e6d30b (diff) |
- Fix group creation field hiding on webkit (Chromium) (#1486839)
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js index 25ab46875..a9da55744 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3710,7 +3710,7 @@ function rcube_webmail() if (!this.name_input) { this.name_input = $('<input>').attr('type', 'text'); - this.name_input.bind('keypress', function(e){ return rcmail.add_input_keypress(e); }); + this.name_input.bind('keydown', function(e){ return rcmail.add_input_keydown(e); }); this.name_input_li = $('<li>').addClass('contactgroup').append(this.name_input); var li = this.get_folder_li(this.env.source) @@ -3728,7 +3728,7 @@ function rcube_webmail() if (!this.name_input) { this.enable_command('list', 'listgroup', false); this.name_input = $('<input>').attr('type', 'text').val(this.env.contactgroups['G'+this.env.source+this.env.group].name); - this.name_input.bind('keypress', function(e){ return rcmail.add_input_keypress(e); }); + this.name_input.bind('keydown', function(e){ return rcmail.add_input_keydown(e); }); this.env.group_renaming = true; var link, li = this.get_folder_li(this.env.source+this.env.group, 'rcmliG'); @@ -3762,7 +3762,7 @@ function rcube_webmail() }; // handler for keyboard events on the input field - this.add_input_keypress = function(e) + this.add_input_keydown = function(e) { var key = rcube_event.get_keycode(e); |