summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-02-05 14:20:40 +0000
committerthomascube <thomas@roundcube.net>2011-02-05 14:20:40 +0000
commited33d19de90a837c29acf4c1f48fa6b2ed328830 (patch)
tree27fc84ab581ef36851e0fe2cc9e918ecd65799bb /program/js/app.js
parentd80bd153a4ad57c243ed1349c6fb5ef2d968f206 (diff)
Normalize group list-item identifier when inserting a new address group
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 84904d942..84e018fcd 100644
--- a/program/js/app.js
+++ b/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));