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,
enableToggle: true,
iconCls: 'fa fa-bullhorn',
},
- {
- xtype: 'button',
- reference: 'attachments',
- text: gettext('Toggle Attachments'),
- enableToggle: true,
- pressed: true,
- iconCls: 'fa fa-paperclip',
- },
'->',
{
xtype: 'button',
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',
+ },
],
},
],