mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-05 10:29:22 +00:00
SpamQuarantine: onSelectMail: re-use queried selection
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
41a290e3f0
commit
550a2c5b7c
@ -154,7 +154,7 @@ Ext.define('PMG.SpamQuarantine', {
|
||||
me.multiSelect();
|
||||
return;
|
||||
}
|
||||
var rec = list.selModel.getSelection()[0];
|
||||
var rec = selection[0];
|
||||
|
||||
me.getViewModel().set('mailid', rec.data.id);
|
||||
me.updatePreview(me.raw || false, rec);
|
||||
|
Loading…
Reference in New Issue
Block a user