summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-12 12:45:56 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-12 12:45:56 +0000
commit1d297be10effab84c7e084bfc70651f99b10e91b (patch)
tree2f271916996ae1772f6df80e69c14ad988986fa8 /roundcubemail/program/js
parentbc0491a544be9da876c2cccedaac19a182b8931b (diff)
- and another constraint for shift selection
git-svn-id: https://svn.roundcube.net/trunk@1290 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/list.js2
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;