]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/form/NotificationTargetSelector.js
1 Ext
.define('PVE.form.NotificationTargetSelector', {
2 extend
: 'Proxmox.form.ComboGrid',
3 alias
: ['widget.pveNotificationTargetSelector'],
5 // set default value to empty array, else it inits it with
6 // null and after the store load it is an empty array,
7 // triggering dirtychange
15 fields
: ['name', 'type', 'comment'],
18 url
: '/api2/json/cluster/notifications/targets',
32 header
: gettext('Target'),
39 header
: gettext('Type'),
46 header
: gettext('Comment'),