diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-12 12:45:56 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-12 12:45:56 +0000 |
| commit | 1d297be10effab84c7e084bfc70651f99b10e91b (patch) | |
| tree | 2f271916996ae1772f6df80e69c14ad988986fa8 | |
| parent | bc0491a544be9da876c2cccedaac19a182b8931b (diff) | |
- and another constraint for shift selection
git-svn-id: https://svn.roundcube.net/trunk@1290 208e9e7b-5314-0410-a742-e7e81cd9613c
| -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 38c74336c..e4d05e315 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -398,7 +398,7 @@ select_next: function() */ shift_select: function(id, control) { - if (!this.rows[this.shift_start]) + if (!this.rows[this.shift_start] || !this.selection.length) this.shift_start = id; var from_rowIndex = this.rows[this.shift_start].obj.rowIndex; |
