summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-11 15:15:28 +0000
committeralecpl <alec@alec.pl>2009-06-11 15:15:28 +0000
commit8ca0c7ce6a1c7f8eb60cddc5955db51afd2cd107 (patch)
treeab88854d61aaf26208df5a1d13d727b0a1b7eb92 /program/js/app.js
parent59c027ba5fa1042ffd0f62bec97a8127002f2b79 (diff)
- fix folder ID generation (for example two folders 'aaa' and 'aaa "')
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 0933ca631..2831e3d8d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3496,7 +3496,6 @@ function rcube_webmail()
if ((current_li = this.get_folder_li(old))) {
$(current_li).removeClass('selected').removeClass('unfocused');
}
-
if ((target_li = this.get_folder_li(name))) {
$(target_li).removeClass('unfocused').addClass('selected');
}
@@ -3511,7 +3510,7 @@ function rcube_webmail()
{
if (this.gui_objects.folderlist)
{
- name = String(name).replace(this.identifier_expr, '');
+ name = String(name).replace(this.identifier_expr, '_');
return document.getElementById('rcmli'+name);
}