diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-12 18:50:24 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-12 18:50:24 +0000 |
| commit | 3f162a28e0421187743f1a6b06e4512667ea732a (patch) | |
| tree | 467a79b68baa98fd5220c85f92e5e3db4e402e91 /roundcubemail/program/js/list.js | |
| parent | b31fcd055a154aa2d14d10eef98eff5159da2230 (diff) | |
- Fix IE issue when replacing spaces doesn't work
- Some code improvements
git-svn-id: https://svn.roundcube.net/trunk@4221 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/list.js')
| -rw-r--r-- | roundcubemail/program/js/list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 029f0cd20..aabba0842 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -1151,7 +1151,7 @@ drag_mouse_move: function(e) subject = $(node).text(); // remove leading spaces - subject = subject.replace(/^\s+/i, ''); + subject = $.trim(subject); // truncate line to 50 characters subject = (subject.length > 50 ? subject.substring(0, 50) + '...' : subject); |
