]>
git.proxmox.com Git - pve-manager.git/blob - www/manager5/form/GroupSelector.js
1 Ext
.define('PVE.form.GroupSelector', {
2 extend
: 'PVE.form.ComboGrid',
3 alias
: ['widget.pveGroupSelector'],
7 initComponent: function() {
10 var store
= new Ext
.data
.Store({
17 valueField
: 'groupid',
18 displayField
: 'groupid',
22 header
: gettext('Group'),
29 header
: gettext('Comment'),
45 Ext
.define('pve-groups', {
46 extend
: 'Ext.data.Model',
47 fields
: [ 'groupid', 'comment' ],
50 url
: "/api2/json/access/groups"