alecpl
2010-07-26 1fe60e25c91266b44cee5cc5d858367df7929f90
program/js/app.js
@@ -977,7 +977,7 @@
      // unified command call (command name == function name)
      default:
        var func = command.replace('-', '_');
        var func = command.replace(/-/g, '_');
        if (this[func] && typeof this[func] == 'function')
          this[func](props);
        break;
@@ -3663,7 +3663,7 @@
        this.contact_list.remove_row(cid);
        this.contact_list.init_row(row);
        this.contact_list.selection[0] = newcid;
        ow.style.display = '';
        row.style.display = '';
      }
      return true;
@@ -3710,7 +3710,7 @@
    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 @@
    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 @@
  };
  // 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);