diff options
author | svncommit <devs@roundcube.net> | 2006-11-21 08:18:29 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-11-21 08:18:29 +0000 |
commit | 31c171846ec7c387fb7fc3e979a63330420002b0 (patch) | |
tree | b59a714ae63247d3711e9a4ded660e73183847b7 /program/js/list.js | |
parent | d17008560036f91fd7327b17ad68cbadc3f7a8ac (diff) |
Bypass Trash folder if Shift-Del was pressed.
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js index 88719049a..eac19bb60 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -32,6 +32,8 @@ function rcube_list_widget(list, p) this.rows = []; this.selection = []; + this.shiftkey = false; + this.multiselect = false; this.draggable = false; this.keyboard = false; @@ -504,6 +506,8 @@ key_press: function(e) if (this.focused != true) return true; + this.shiftkey = e.shiftKey; + var keyCode = document.layers ? e.which : document.all ? event.keyCode : document.getElementById ? e.keyCode : 0; var mod_key = rcube_event.get_modifier(e); switch (keyCode) |