]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/SpamQuarantine.js
tfa: avoid trailing space on WebAuthn
[pmg-gui.git] / js / SpamQuarantine.js
index 388fc025e8e807d40420378593cc5439c8401436..a390dcf7d13fbf67ae106fe1901bab52cc312084 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,
@@ -225,6 +224,17 @@ Ext.define('PMG.SpamQuarantine', {
                            enableToggle: true,
                            iconCls: 'fa fa-bullhorn',
                        },
+                       {
+                           xtype: 'tbseparator',
+                           reference: 'themeCheckSep',
+                       },
+                       {
+                           xtype: 'proxmoxcheckbox',
+                           reference: 'themeCheck',
+                           checked: true,
+                           boxLabel: gettext('Dark-mode filter'),
+                           iconCls: 'fa fa-paint-brush',
+                       },
                        '->',
                        {
                            xtype: 'button',