Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
},
init: function(view) {
},
init: function(view) {
+ var emailcb = this.lookupReference('email');
if (PMG.view === 'quarantineview') {
if (PMG.view === 'quarantineview') {
- this.lookupReference('email').setVisible(false);
+ emailcb.setVisible(false);
+ } else {
+ emailcb.getStore().getProxy().setExtraParams({
+ list: view.listname === 'blacklist' ? 'BL' : 'WL'
+ });
}
Proxmox.Utils.monStoreErrors(view.getView(), view.getStore(), true);
},
}
Proxmox.Utils.monStoreErrors(view.getView(), view.getStore(), true);
},