diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-11 15:15:28 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-11 15:15:28 +0000 |
| commit | 3b2e3d619ef8d6b2a200e884ba9d92f2e2cc1581 (patch) | |
| tree | ee21d34a79123327d79046a8fab3d99dbc61abca /roundcubemail/program/js | |
| parent | 42857f68547fc2643a23346af3687b5a2c4f55f3 (diff) | |
- fix folder ID generation (for example two folders 'aaa' and 'aaa "')
git-svn-id: https://svn.roundcube.net/trunk@2638 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 0933ca631..2831e3d8d 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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); } |
