Skip to content

Commit

Permalink
fix swipe-select action (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoh committed Dec 10, 2020
1 parent c9270e9 commit 8f1167e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Roundcube Webmail Swipe
=======================

Version 0.3.2 (2020-12-20, rc-1.4.4)
=================================================
* Fix swipe-select action (#15)

Version 0.3.1 (2020-11-20, rc-1.4.4)
=================================================
* Various code improvements
Expand Down
4 changes: 3 additions & 1 deletion swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ rcube_webmail.prototype.swipe = {
rcmail.command(command, '', props.obj, props.originalEvent, true);
}
else if (type == 'select') {
rcmail.env.swipe_list.highlight_row(props.uid, true);
// Async action, do not override selection
rcmail.env[rcmail.env.swipe_selection_id] = null;
rcmail.env.swipe_list.select_row(props.uid, CONTROL_KEY, true);
}
else {
var prev_command = rcmail.commands[command];
Expand Down

0 comments on commit 8f1167e

Please sign in to comment.