- {
- text: gettext('Create'),
- handler: function() {
- var config = {
- method: 'POST',
- url: '/api2/extjs' + me.baseurl,
- onlineHelp: me.onlineHelp,
- isCreate: true,
- subject: gettext("Relay Domain"),
- items: [
- {
- xtype: 'proxmoxtextfield',
- name: 'domain',
- fieldLabel: me.domain_desc,
- },
- {
- xtype: 'proxmoxtextfield',
- name: 'comment',
- fieldLabel: gettext("Comment"),
- },
- ],
- };
-
- var win = Ext.createWidget('proxmoxWindowEdit', config);
-
- win.on('destroy', reload);
- win.show();
- },
- },
- remove_btn,