mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
added: option for keeping selection while selecting another item
This commit is contained in:
@@ -90,7 +90,8 @@
|
||||
}
|
||||
this.prev_dir = itfunc;
|
||||
return;
|
||||
} else if (!this.ctrl_pressed && (!this.last_selection || !this.last_selection.is($row))) {
|
||||
} else if (!(this.options.keep_selection || this.ctrl_pressed) &&
|
||||
(!this.last_selection || !this.last_selection.is($row))) {
|
||||
this.clear_selection();
|
||||
}
|
||||
this.last_selection = $row;
|
||||
|
||||
Reference in New Issue
Block a user