]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/dc/GroupEdit.js
1 Ext
.define('PVE.dc.GroupEdit', {
2 extend
: 'Proxmox.window.Edit',
3 alias
: ['widget.pveDcGroupEdit'],
5 initComponent: function() {
8 me
.isCreate
= !me
.groupid
;
14 url
= '/api2/extjs/access/groups';
17 url
= '/api2/extjs/access/groups/' + me
.groupid
;
22 subject
: gettext('Group'),
27 xtype
: me
.isCreate
? 'proxmoxtextfield' : 'displayfield',
28 fieldLabel
: gettext('Name'),
35 fieldLabel
: gettext('Comment'),