spam.setDisabled(true);
spam.setPressed(false);
me.lookupReference('spaminfo').setVisible(false);
- me.callParent(selection);
+ me.callParent(arguments);
},
toggleSpamInfo: function(btn) {
title: gettext('Spam Quarantine'),
xtype: 'pmgQuarantineList',
selModel: 'checkboxmodel',
- emailSelection: true,
reference: 'list',
region: 'west',
width: 500,
iconCls: 'fa fa-bullhorn',
},
{
- xtype: 'button',
- reference: 'attachments',
- text: gettext('Toggle Attachments'),
- enableToggle: true,
- pressed: true,
- iconCls: 'fa fa-paperclip',
+ xtype: 'tbseparator',
+ reference: 'themeCheckSep',
+ },
+ {
+ xtype: 'proxmoxcheckbox',
+ reference: 'themeCheck',
+ checked: true,
+ boxLabel: gettext('Dark-mode filter'),
+ iconCls: 'fa fa-paint-brush',
},
'->',
{
reference: 'spaminfo',
border: false,
},
- {
- xtype: 'pmgAttachmentGrid',
- minHeight: 50,
- maxHeight: 250,
- scrollable: true,
- reference: 'attachmentlist',
- showDownloads: false,
- border: false,
- },
{
xtype: 'pmgMailInfo',
hidden: true,
reference: 'mailinfo',
border: false,
},
+ {
+ xtype: 'pmgAttachmentGrid',
+ reference: 'attachmentlist',
+ showDownloads: false,
+ border: false,
+ dock: 'bottom',
+ },
],
},
],