move action needs to select the target message first

dev_contacts
PhilW 7 years ago
parent c09e4fead9
commit 8496ace616

@ -127,8 +127,9 @@ rcube_webmail.prototype.swipe_select_action = function(direction, obj) {
if (!uid) if (!uid)
return; return;
rcmail.swipe_list_selection(uid, true);
rcmail.enable_command('move', true); rcmail.enable_command('move', true);
$('#' + rcmail.buttons['move'][0].id).click(); $('#' + rcmail.buttons['move'][0].id).trigger('click');
}; };
} }
else if (rcmail.env.swipe_actions[direction] == 'read') { else if (rcmail.env.swipe_actions[direction] == 'read') {

Loading…
Cancel
Save