diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-04 16:06:21 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-04 16:06:21 +0000 |
| commit | 0dc6e35dfba5c93e3bda9683843b9e92172ef759 (patch) | |
| tree | fc746459ce1b24af64c6deb8b448579655f2a5c5 /roundcubemail/program | |
| parent | db52dca11487fd62ab6ebf975abbaa6f17c1d2a7 (diff) | |
Better fix for #1484942
git-svn-id: https://svn.roundcube.net/trunk@1250 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/list.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 6a6b27d14..2b3c7a8f6 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -513,9 +513,12 @@ highlight_row: function(id, multiple) { if (this.rows[id] && !multiple) { - this.clear_selection(); - this.selection[0] = id; - this.set_classname(this.rows[id].obj, 'selected', true); + if (this.selection.length > 1 || !this.in_selection(id)) + { + this.clear_selection(); + this.selection[0] = id; + this.set_classname(this.rows[id].obj, 'selected', true); + } } else if (this.rows[id]) { |
