]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/SpamQuarantine.js
subscription: remove hard-coded white background
[pmg-gui.git] / js / SpamQuarantine.js
index c86ce79ac45e4d2a840ebc396a43cdb26c1fc592..1608f18be1c4a7bbb2e50dc3b9702ac527d9071d 100644 (file)
@@ -51,7 +51,7 @@ Ext.define('PMG.SpamQuarantineController', {
        spam.setDisabled(true);
        spam.setPressed(false);
        me.lookupReference('spaminfo').setVisible(false);
-       me.callParent(selection);
+       me.callParent(arguments);
     },
 
     toggleSpamInfo: function(btn) {
@@ -143,7 +143,6 @@ Ext.define('PMG.SpamQuarantine', {
            title: gettext('Spam Quarantine'),
            xtype: 'pmgQuarantineList',
            selModel: 'checkboxmodel',
-           emailSelection: true,
            reference: 'list',
            region: 'west',
            width: 500,
@@ -204,6 +203,12 @@ Ext.define('PMG.SpamQuarantine', {
                {
                    xtype: 'toolbar',
                    dock: 'top',
+                   overflowHandler: 'scroller',
+                   style: {
+                       // docked items have set the bottom with to 0px with '! important'
+                       // but we still want one here, so we can remove the borders of the grids
+                       'border-bottom-width': '1px ! important',
+                   },
                    items: [
                        {
                            xtype: 'button',
@@ -262,13 +267,21 @@ Ext.define('PMG.SpamQuarantine', {
                },
                {
                    xtype: 'pmgSpamInfoGrid',
-                   border: false,
                    reference: 'spaminfo',
+                   border: false,
                },
                {
                    xtype: 'pmgMailInfo',
                    hidden: true,
                    reference: 'mailinfo',
+                   border: false,
+               },
+               {
+                   xtype: 'pmgAttachmentGrid',
+                   reference: 'attachmentlist',
+                   showDownloads: false,
+                   border: false,
+                   dock: 'bottom',
                },
            ],
        },