pve-manager/www/manager/form/EmailNotificationSelector.js
Tobias Doerffel 8b4b4860ec VZDump: added email notification setting
It's now possible to make VZDump only send a mail in case of a failure.

Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de>
2014-11-24 06:35:15 +01:00

16 lines
357 B
JavaScript

Ext.define('PVE.form.EmailNotificationSelector', {
extend: 'PVE.form.KVComboBox',
alias: ['widget.pveEmailNotificationSelector'],
initComponent: function() {
var me = this;
me.data = [
['always', gettext('Always')],
['failure', gettext('On failure only')]
];
me.callParent();
}
});