summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-05 14:20:40 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-05 14:20:40 +0000
commite42314c4827195686706ba0fe509b4819581670b (patch)
tree94f86d89bf5f203e97816bdc6a259e12535d4575
parent24a118a3479a8ee0a04b4e3c25689501639e0bc2 (diff)
Normalize group list-item identifier when inserting a new address group
git-svn-id: https://svn.roundcube.net/trunk@4496 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 84904d942..84e018fcd 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -3947,7 +3947,7 @@ function rcube_webmail()
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));