thomascube
2011-02-05 ed33d19de90a837c29acf4c1f48fa6b2ed328830
Normalize group list-item identifier when inserting a new address group

1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -3947,7 +3947,7 @@
    var link = $('<a>').attr('href', '#')
      .bind('click', function() { return rcmail.command('listgroup', prop, this);})
      .html(prop.name);
    var li = $('<li>').attr('id', 'rcmli'+key)
    var li = $('<li>').attr('id', 'rcmli'+key.replace(this.identifier_expr, '_'))
      .addClass('contactgroup')
      .append(link)
      .insertAfter(this.get_folder_li(prop.source));