Changeset c321e2fb in github


Ignore:
Timestamp:
Aug 3, 2010 4:49:13 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
fb995a8
Parents:
b4d1090
Message:
  • Fix ESC key doesn't close folder name edition field in Google Chrome
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    rbe9d4d2 rc321e2fb  
    40464046      reg = new RegExp('['+RegExp.escape(this.env.delimiter)+']?[^'+RegExp.escape(this.env.delimiter)+']+$'); 
    40474047      this.name_input.__parent = this.env.subscriptionrows[id][0].replace(reg, ''); 
    4048       this.name_input.onkeypress = function(e){ rcmail.name_input_keypress(e); }; 
     4048      this.name_input.onkeydown = function(e){ rcmail.name_input_keydown(e); }; 
    40494049 
    40504050      row.cells[0].replaceChild(this.name_input, row.cells[0].firstChild); 
     
    40694069 
    40704070  // handler for keyboard events on the input field 
    4071   this.name_input_keypress = function(e) 
     4071  this.name_input_keydown = function(e) 
    40724072  { 
    40734073    var key = rcube_event.get_keycode(e); 
Note: See TracChangeset for help on using the changeset viewer.